/ Published in: CSS
Sometimes, pages can be shorter than the browser view-port, and when you load a page on the same site that has longer content and uses a scrollbar, content can jump side to side. By forcing a scrollbar no matter the height of our content, we stop this small, but annoying issue.
Expand |
Embed | Plain Text
html { overflow-y: scroll; }
Comments
Subscribe to comments
You need to login to post a comment.

Though thats a way it dosen't validate :(
I personally use:
html { height:100%; padding-bottom:1px; }