Previous Message
Next Message

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

Sent by Rieselbach, Erik on 29 January 2002 11:11


Andrew Clover proposes  

> html, body { overflow: auto; }
> body { overflow: vi\sible; }
> 
to disappear unwanted scrollbars.

Alas, putting an overflow style in html {} breaks IE5 for Mac, and produces
queer and unwanted behavior in Mac NS6.2. Additionally, in IE 5.5/Win (under
NT4) the ghost scrollbar is reintroduced by the second overflow statement.

So the struggle continues.

Best,

Erik

Erik Rieselbach
Pfizer HQ Graphic Design

> ----------
> From: 	Andrew Clover
> Sent: 	Tuesday, January 29, 2002 10:40
> To: 	[EMAIL-REMOVED]
> Subject: 	Re: [css-d] how do you kill vertical scrollbar in IE ?
> 
> Simon Seeber [EMAIL-REMOVED]> wrote:
> 
> > Is there a similar selector to ">" that is supported in IE 6?
> 
> Yes. I usually use CSS backslash escapes when I want to separate
> [IE6 and the other standards browsers] from [IE5.5, Opera 5, and other
> older browsers].
> 
> So my attempt to lose scrollbars when not needed would be:
> 
>   html, body { overflow: auto; }
>   body { overflow: vi\sible; }
> 
> which seems to work and not suffer from the problems John mentioned in
> Mozilla.
> 
> -- 
> Andrew Clover
> [EMAIL-REMOVED]
> http://and.doxdesk.com/
> _______________________________________________
> css-discuss mailing list
> [EMAIL-REMOVED]
> http://two.pairlist.net/mailman/listinfo/css-discuss
> 
>
Previous Message
Next Message

Message thread: