Here’s the scenario… you just finished your rock-solid CSS design and your page looks wonderful. Currently your viewing it in a nice big browser window and there’s no vertical scrollbar. Mmmm…. very nice! Then you click to another page in your template – a very long page – when “boink!” your whole page shifts to the left by about 20pixels?!?!
“What the crazy just happened!?”
Ah… The scrollbar appeared and bumped my page over….
How to fix it? = Always show the scrollbar
In your CSS just add this line:
html { overflow:-moz-scrollbars-vertical; overflow-y: scroll; }
Presto your scrollbar problems have been solved!
Latest Posts
Cool Finds
- KoHive is a Shared Virtual Workspace for Brainstorming, Filesharing, and More [Collaboration]
- Courier: “Mail” Your Files to the Cloud
- 10 Useful iPhone Shortcuts, Tips and Tricks
- Transfer Big Files Circumvents iPhone Upload Limits [Downloads]
- Libox Syncs and Streams Your Media Collection Just About Anywhere [Downloads]
- Chrome to iPhone Sends Links to your iOS Device from Chrome [Downloads]
- Google Mobile Brings True iPhone Push Notifications for Gmail and Google Calendar [Downloads]
- AirDropper Requests Files via Email and Saves to Your Dropbox [File Sharing]
- How a 16-yo Kid Made His First Million Dollars Following His Hero, Steve Jobs [Stories]
- Turn a Sheet of Paper into a Simple Flash Softbox [DIY]

Thats FF only.
Use this for all browsers.
html { overflow-y: scroll; }
Good point… thanks Trevor.