Click to See Complete Forum and Search --> : have overflow produce vertical scrollbars only


Pierre Rouillet
01-13-2004, 07:11 PM
folks,

there be a way o'havin good ol' overflow-attribute make some vertical bars but none horizontal even if it would otherwise do so?

'll be jus' great.

keep groovin.

p

PeOfEo
01-13-2004, 08:41 PM
overflow:auto; will do it if the div does not have to stretch horizontally. Otherwise you have the ie proprietary code
overflow-x:hidden;

Paul Jr
01-13-2004, 09:02 PM
Originally posted by PeOfEo
overflow:auto; will do it if the div does not have to stretch horizontally. Otherwise you have the ie proprietary code
overflow-x:hidden;
In FireBird, I had a problem with overflow: auto;. Every time I moused over any of my links, my content would jump up on the page very breifly. It always went back, but it was a flash, and I didn't know what the hell was going on. So, I used overflow-y: auto; instead, which is what I needed anyway.

That was weirding me out. Nothin' wrong with my CSS that I could see. Markup looked fine, too. Ran it through the validators to make sure.

PeOfEo
01-14-2004, 04:19 PM
well overflow-x -y is ie only proprietary. Auto will work for everything, but you have to make sure the content is not stretching all over the x axis, like your links or flash or rollovers can't cause stretching or it is probably going to cause problems.