We Recommend

CSS: The Definitive Guide CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.


Posted By

neal_grosskopf on 04/30/08


Tagged

css Firefox CSS3


Versions (?)


Who likes this?

2 people have marked this snippet as a favorite

MondoMan
neal_grosskopf


Always Show Scrollbars In Firefox Using CSS


Published in: CSS 


URL: http://www.nealgrosskopf.com/tech/thread.asp?pid=12

In FF the page will "jump around" when moving from page to page due to the scrollbars. Find out how to make that stop.


  1. html { overflow-y: scroll; }

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: neal_grosskopf on May 1, 2008

It's CSS3 so it is valid. When you're validating the CSS make sure to check the CSS3 checkbox on the W3C website or add this to your validation URI - "profile=css3"

Posted By: SmpleJohn on May 1, 2008

Yeah, doesn't validate though. I always use html {height:101%;} Kind of ghetto, but validates:)

You need to login to post a comment.