Posted By

neal_grosskopf on 04/30/08


Tagged

css Firefox CSS3


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

MondoMan
neal_grosskopf
asturi
janvdm


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: SmpleJohn on May 1, 2008

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

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"

You need to login to post a comment.