overflow-y:scroll is correct, but you should use it with the html tag, not body or else you get a double scrollbar in IE 7
So the correct css would be:
html {
overflow-y: scroll;
}
More Related Contents:
- change the menu font size
- Can I debug by CSS code in easy way for beginner?
- Setting columns in bootstrap grid
- How to write a:hover in inline CSS?
- Landscape printing from HTML
- Change color of PNG image via CSS?
- Use images instead of radio buttons
- CSS grid square layout [duplicate]
- Is it possible to have two background colors for a single html element? [duplicate]
- Masonry-style Layout ONLY with CSS
- How can I make my flexbox layout take 100% vertical space?
- How is Github Changing Pages and the URL so smoothly without AJAX?
- Font Awesome icon inside text input element
- Custom bullet symbol for elements in that is a regular character, and not an image
- How do I add a “search” button in a text input field?
- heading with horizontal line on either side [duplicate]
- Fill remaining vertical space – only CSS
- CSS Background image not loading
- Change checkbox check image to custom image
- add title attribute from css
- How to add background image for input type=”button”?
- How to specify parameters to google chrome adobe pdf viewer?
- Flexbox, z-index & position: static: Why isn’t it working?
- How to rotate and postion an element on the top left or top right corner?
- How to completely remove borders from HTML table
- Bootstrap full-width text-input within inline-form
- header/footer/nav tags – what happens to these in IE7, IE8 and browsers than don’t support HTML5?
- Can you style html form buttons with css?
- Internet Explorer and clip-path
- overflow-y:visible not working when overflow-x:hidden is present [duplicate]