Sent by jack fredricks on 1 April 2005 07:07
On Feb 22, 2005 12:33 AM, Pablo Montilla [EMAIL-REMOVED]> wrote:
> By the way, making IE hide the scrollbar (when not needed) can be done
> using the rules:
>
> body {
> overflow: auto;
> }
>
> Regards,
> Pablo
Using IE6/win...setting this rule on the body doesnt seem to do
anything. Applying it to the html element, however, did remove the
vertical scroll bar. ie;
html {overflow:auto;}
can anyone think of any dangers in doing this?
the css spec says;
http://www.w3.org/TR/CSS21/visufx.html#overflow
auto : The behavior of the 'auto' value is user agent-dependent, but
should cause a scrolling mechanism to be provided for overflowing
boxes.
I was going to say that auto 'seems' the default (even though inherit
is), but obviously IE behaves differently when the rule is applied.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/