0

Hi

I want to disable in HTML a vertical scroll bar .
Is any ideas how to do this ?


Thank you for your effort of reading .

3
Contributors
5
Replies
6
Views
9 Years
Discussion Span
Last Post by Oversky
0

This option is only available to FRAME and IFRAME (scrolling).
Scrolling as far I know, can not be use with any other tags. Your only chance to disable any scrolling is to design pages to 800 x 600 and then just ajust content position by relative positioning.

0

Ok , i know in framing . Your site have a mistake because they did not include " " or they have a something that i do not know .
example
scrolling = "no"
OK if my chance is set resolution then , HTML tags does not have that attribute possible said
http://www.w3schools.com/tags/ref_standardattributes.asp
Then how did you think to set resolution then ?

Thanks for your replay .

0

1) Create one site with resolution 800x600 and use relative positioning to place it in the middle. Not pretty but you certain that there is no scrolling, it will happens only if somebody still use lesser resolution then this ( I do not think there is anyone)
2) Use browser detection script that can check on user resolution and use css file assign to this resolution (you need to buy a plugin or you may want to code it)

PS: Linked site is official documentation by w3.org ;)

0

HTML:
...
<body scroll="no">
...

And you should add this code in your css for IE:

CSS:
...
body{scroll: no;}
...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.