[thelist] Removing scroll bars

Michael Pemberton pemberton_m at hotmail.com
Tue Feb 19 23:46:00 CST 2002


>From: "rudy" <r937 at interlog.com>
>Date: Tue, 19 Feb 2002 10:19:13 -0500
>
>make sure each web page has only one line or so of content
>
>;o)
>
>sorry, i couldn't help it

In the same spirit of "couldn't help it", I have to say that limiting the
amount of content is not enough to hide the scrollbars.

IE likes to *display* the scrollbars even if they are not needed.

There are a range of solutions depending on the browser.  Most versions of
NS allow for setting the document.height value to something smaller than the
window height.  This will override the size of the document and remove the
scrollbars.

Using JS to edit the body.style.scroll (can't remember exact syntax at the
moment) will allow you to dynamically hide the bars.

I have a method sitting somewhere at home that combines then into a single
function, if anyone is interested, just give me a yell / prode.

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




More information about the thelist mailing list