Return to Snippet

Revision: 40162
at January 27, 2011 04:03 by paul66


Initial Code
html { overflow-y: scroll; }

Initial URL


Initial Description
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.

Initial Title
Force scrollbar

Initial Tags
css, browser

Initial Language
CSS