How can I turn off scrolling if I know that I don’t need it on a webpage?
I have encountered this before here at work. A freelance programmer was working a site that had frames and was database drive. Some of the pages he was working on would fit fine in the screen, but he still had a scrollbar for whatever reason.
If you know a specific page that you don’t want scrolling on, try this;
Add to your style sheet for a global change on every page:
<style type=”text/css”>
<!–
body {overflow:hidden;}
–>
</style>
Or as in inline style:
<body style=”overflow: hidden;”>
By default IE puts a vertical scrollbar on every page even when it doesn’t need it. That doesn’t explain anything in regards to scrolling bugs and frames per say, but it is a fix.
Here are some similar arcade posts
- Which HTML Selectors are block elements and which are inline elements by default?
- Style sheet precedence in table cells and stylesheets
- How do I turn the visibility off on a layer (div block)?
- Formatting Ordered lists so they look like an outline in Microsoft Word.
- How do I change the symbol timeline from a movie clip to a button?
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.











Comments
No comments yet.
Leave a comment
Your email address is never displayed and cannot be spammed. Read our comment privacy policy.