Softpress

Centered pages jump to the left when a vertical scrollbar appears

If your website is centered in the browser window, and some of your pages are much shorter than others, you may have noticed pages jumping from left to right by about 10 or so pixels when navigating between pages. This is caused by the browser's scroll bars appearing on longer pages, and disappearing on smaller pages.

This is expected behavior and shouldn't be seen as a problem. Also, any “solutions” only really create new problems in other browsers, particularly those in Windows, so don't recommend using them. Remember that, as the creator of the website, you'll be more aware of it happening. Take a look at other centered websites (including Apple's) and you'll see that the same thing happens there.


Related Articles

No related articles were found.

Attachments

No attachments were found.

Article Details

Last Updated
29th of April, 2009

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions

50% thumbs up 50% thumbs down (6 votes)

How would you rate this answer?




Thank you for rating this answer.

Continue