PDA

View Full Version : Scrolling CSS div doesn't exist in FF



somnamblst
May 23rd, 2007, 05:19 PM
.overflow_div {
overflow: scroll;
width: 200px;
height: 200px;
white-space: nowrap;

I got nada in FF 2.0.0.3

simplistik
May 23rd, 2007, 06:39 PM
overflow: auto;

somnamblst
May 23rd, 2007, 10:40 PM
overflow: auto;

That is what I had initially since I didn't like the unneccessary horizontal scroller :(

ditt0
May 23rd, 2007, 11:19 PM
That is what I had initially since I didn't like the unneccessary horizontal scroller :(
You have a horizontal scrollbar because of the nowrap property. That forces the line not to break.
So without the nowrap in place, this css should work fine:


.overflow_div {
overflow: auto;
width: 200px;
height: 200px;}

somnamblst
May 24th, 2007, 09:42 AM
You have a horizontal scrollbar because of the nowrap property. That forces the line not to break.
So without the nowrap in place, this css should work fine:



Thanks. Does allow me to use auto and avoid a H scroller. But no scroller in FF. I have


.overflow_div {
overflow: auto;
width: 234px;
height: 1019px;
align: center;
}
div#content{width: 200px; padding: 0px 0px; margin: 0px 0 0 0px; font-family : Arial,Helvetica;
font-size : 9pt;
font-style : normal;
font-weight : normal;
letter-spacing : normal;
text-decoration : none;
text-transform : none;
color : #fff;