PDA

View Full Version : no scrollbar in HTML page help



Bojan
September 17th, 2003, 09:43 AM
hay there

I'm very bad in HTML so consider that ;)

I want to run some HTML page in fullscreen mode, I manage that but still on right side there is vertical scrollbar.
So I read that I need to put SCROLL="no" in BODY tag. I do that and still there it is ?!?

What am I doing wrong ?? I just copy/paste SCROLL="no" in body tag and nothing happens...

If someone can help me with HTML syntax I'll appreciate that :)

tnx,

Bojan

JMS
September 17th, 2003, 10:02 AM
scroll="no" is correct. However it only works in IE

Bojan
September 17th, 2003, 12:04 PM
Don't know why but I can't paste HTML code here so I attached file.

Please just put it on right place and send it back to me.

I put it in BODY tag and I get only text in browser 'scroll="no"'. As I mentioned, I'm novice in HTML :)

thanks in advance,

Bojan

lostinbeta
September 17th, 2003, 01:52 PM
Ok, as a note, the majority of web viewers despise full screen windows so it is usually recommend that if you have a full screen you should also supply an option for normal window.

As for removing the scrollbar. scroll="no" does only work in IE, but there is a CSS method that works in both IE and Netscape (which means it works in Mozilla and Firebird as well)

You would need to add this code anywhere in between the <HEAD></HEAD> tags of your HTML document.


<STYLE TYPE="text/css">
<!--
body {overflow: hidden};
-->
</STYLE>

JMS
September 17th, 2003, 10:46 PM
nice one, that CSS way is cool :thumb:

if you just want to do the scroll=no format do this



<body scroll="no">

Bojan
September 18th, 2003, 05:27 AM
tnx to all, it works :)

justdude
February 24th, 2012, 01:32 PM
Thanks !!!