PDA

View Full Version : OVERFLOW property Question (Netscape)



tracy78
05-24-2006, 02:56 PM
I am trying to have a scrolling Div that has to work in Firefox, IE, Netcape.
I was using

overflow-x: hidden;
overflow-y: scroll;

However, that doesn't work in Netscape. I know that

overflow: auto;

should work, but in Firefox it keeps showing a horizontal scroll when the table is 100% - making the table 99% doesn't fill up the div and thus looks weird.

Will this code work in netscape?

overflow: auto;
overflow-x: hidden;
overflow-y: scroll;

Would it ignore the overflow-x and -y?

I know you all will say try it, but unfortunately I get a Socket Error when trying to install Netscape.

benslayton
05-26-2006, 05:07 AM
whatever

jscheuer1
05-26-2006, 05:34 AM
Yes, it will ignore those values as, it has no definition for them so, they are meaningless. Overflow set to auto should work for all browsers as long as the content width does not exceed the element with the overflow of auto's width. Percent widths are generally a poor choice for this sort of thing, try pixels or, if you must use percent and 99% is too narrow, try 99.5% or 99.7%, etc.