Forum Moderators: not2easy

Message Too Old, No Replies

overflow and whitespace: pre;

         

Nutter

3:36 am on Mar 21, 2006 (gmt 0)

10+ Year Member



I have a div that I'm using to display source code, so it's set with whitespace: pre;. I also have overflow-x set to auto so that it'll scroll horizontall as needed. But, the div doesn't scroll in IE, it just expands making the page way wider than it should be. Any thoughts as to why this might be happening?

alias

4:57 pm on Mar 21, 2006 (gmt 0)

10+ Year Member



You might try setting a fixed width for that block - maybe that is what's causing problems.