[thelist] Removing scroll bars
Matthew Mullenweg
matt at swcdesign.com
Tue Feb 19 15:54:00 CST 2002
That works, but it did *very strange things* with scrollbars showing up
in odd places in Mozilla and NS6, and actually ended up crashing Mozilla
several times (granted, a nightly build). It's not that important to me,
just something I thought would be neat.
-Matt
> -----Original Message-----
> From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]
> On Behalf Of MRC
> Sent: Tuesday, February 19, 2002 3:37 PM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] Removing scroll bars
>
> Matt,
>
> > A small variation on this question, what would be a good way to have
> > scrollbars hidden if the content doesn't take up more than one page?
> > scroll="auto" does this but again, doesn't validate.
>
> But doing the very same thing with CSS is trivial, and will
validate:
>
> html, body
> {
> overflow: auto ;
> }
>
> This will hide the scrollbars if they are unneeded, but will
display
> them if they are needed -- perhaps the best of the various solutions.
>
> James Aylard
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list