Click to See Complete Forum and Search --> : Is it possible to remove scroll bar in a non-frames page?


Reyngel
01-23-2003, 08:13 PM
I have just a basic html page. It's not a frame or anything, but I'd like to remove the scrollbar because it throws off my attempts at getting things dead-center. Is there a javascript or something that allows me to remove the scroll bar? Thanks!

Zach Elfers
01-23-2003, 08:41 PM
Yes. In the body tag type scroll="no" like this:

<body scroll="no">

jdavia
01-23-2003, 08:42 PM
I don't get that. Center is center, scroll bar or not.
But Yes and No.
You don't mention if the scroll bar is Vertical or Horizontal.

Horizontal:
First off if your page is too long to fit the screen you will get a scroll bar. If you opened your page in a New Window the you can set the parameters not to have a scroll bar, but if the page was long as mentioned above, all the text will not be visible. Get it!.

You can make smaller text, less text, so it fits the screen, or continue it to a "Next Page". If that will make you happy.

Vertical:
Set the width to either 100% or no more than 800px

Reyngel
01-23-2003, 08:50 PM
Ha, thanks. Yes, it was a vertical, light grey bar... one that was unneeded. I had the body tag of scroll=no, but I had forgotten the stupid quotation marks, so that's why i couldn't get it to work.

Also, <center> doesn't always make it dead center... if there is a vertical scroll bar, it pushes everything slightly to the left. ;)

Anyway, thanks for the help. Can anyone help my with my other post, regarding how to load independent popups, rather than each succeeding popup being loaded into the original?