Previous Message
Next Message

RE: [css-d] Elementary problems...

Sent by John Woram on 28 January 2002 16:04


Brett Merkey wrote: IE's irritating "ghost" vertical scrollbar can be
eliminated by setting overflow:hidden or overflow:auto on either the
BODY or HTML tags. Be aware that overflow:auto may cause Netscape 6 to
poop, so overflow:hidden is better if you are certain the page will
not scroll.

I finally fixed this the hard way on one of my sites. I added a
minimal browser sniffer to write an overflow:auto; style only if IE is
detected. That way the vertical scrollbar goes away if it's not needed
in IE, but the code doesn't get in the way of Netscape or the others.

If anyone's interested, it's at the bottom of the <script ...> section
at http://www.galapagos.to

John
Previous Message
Next Message

Message thread:

Possibly related: