Previous Message
Next Message

RE: [css-d] how do you kill vertical scrollbar in IE ?

Sent by John Woram on 29 January 2002 11:11

Andrew Clover wrote: So my attempt to lose scrollbars when not needed
would be:

  html, body { overflow: auto; }
  body { overflow: vi\sible; }

I just tried that in IE 6 (on a Millennium box), and it kills the
scrollbar even if it's needed. I changed the second line to
{overflow:au\to;} and that works in IE 6. But now in Mozilla, if I
reduce the vertical size of the window, the vertical scroll bar does
not appear. But if I reduce the *width* of the window, it does
appear--even if it's not needed. Also, the vertical scroll bar is
deflected to the left of the right edge by about 1/8 inch.

Previous Message
Next Message

Message thread: