June 29, 2001 by Ferdi Kegel
How do you get rid of those "ghost scrollbars" when a page needs no scrollbars?

Set the Scroll property to "auto" in the body tag to get rid of those "ghost scrollbars" that appear along the right side of the window when a page needs no scrollbars.

<body scroll="auto">

When you have a page that needs no scrollbars, then the scrollbars will not appear along the right side of the window.
When you have a page that needs scrollbars, then the scrollbars will appear as normal along the right side of the window.

Place your comment about AutoScroll

You must me logged in to write a comment
still space when using autoscroll
July 5, 2001 by folkert jongbloed
I noticed some space when using the autoscroll. The space for the scrollbar is still in the page although you can't see it. A centrered table for example won't centre completely because there is some 'gost' space where the scroll bar might come if the table is excessing the pageformat...
Two extensions
June 30, 2001 by Marcello Cerruti

The "ghost scrollbars" are wieved only with IE, so the attribute is ignored by Opera and Netscape.

Two extensions are available at both written by Massimo Foti:

  • Set IE Scrollbar, a Command full of time-saving options;
  • Body Inspector, a Property Inspector

What seems curious to me is that, albeit you can set all the body attributes with CSS and, since vers.5.5, IE support scrollbar styles (to create coloured scrollbars), there is not such a style about scrolling options.