Previous Message
Next Message

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

Sent by John Woram on 29 January 2002 12:12


Andrew Clover wrote: "Here's another attempt that ... I think works.
:-)
Anyone have any trouble with:

   html,body { overflow: auto; }
   html>body { overflow: visible; }
   html      { height: 100%; }

Ta-da!! That works in IE6, Mozilla 0.9.5, Opera 6 and Netscape 4.77.
But in trying to figure out *why* it works, I found that line 3 alone
works too, in all the browsers just mentioned. And that's definitely
better than my JavaScript workaround. Thanks!

John
Previous Message
Next Message

Message thread: