Knowledge Base Navigation

Articles: 51 Categories: 8

KB Article: No Scrollbars

Article:No Scrollbars     Popular
Submitted By:Taut
Date Added:04-27-2004 7:21:57

Want Hidden or Partial Scrollbars?

whether you only want a vertical scrollbar...or a horizontal, or you don't want either, you'll want to put these styles INSIDE the body tag:

Here is the code for the vertical (up and down) scrollbar only:
style="overflow-x:hidden; overflow-y:scroll;"

Here is the code for the horizontal (side to side) scrollbar only:
style="overflow-x:scroll; overflow-y:hidden;"

Here is the code to make both scrollbars go away:
style="overflow-x:hidden; overflow-y:hidden;"


style="overflow: hidden;"

Current rating: 7.61 by 134 users
Please take one second and rate this article...

Not a Chance 12345678910 Absolutely

Please register or sign-in to post comments.

Jump to a selected article...