Firefox Scrollbar Pushing Content Left

I just spent about an hour trying to work out why a CSS layout I was working on suddenly jumped left when I clicked on certain pages in Firefox, but not in Internet Explorer.

It turns out I made the silly mistake of forgetting Firefox pushes content left when the vertical scroll bar appears! ie. If you’re on a page that doesn’t have enough content to fill the screen and you then click on a page with more content than can fit on the screen, the vertical scroll bar that is automatically shown will push your content to the left!

I wonder if this feature can be turned off in FF? I know people love to bash IE but it seems to behave better with scroll bars than FF..

2 Responses to “Firefox Scrollbar Pushing Content Left”

  1. Web Graphics» Blog Archive » (Superman web graphics) Firefox Scrollbar Pushing Content Left Says:

    […] Firefox Scrollbar Pushing Content LeftFirefox Scrollbar Pushing Content Left June 28th, 2006 I just spent about an hour trying to work out why a CSS layout I was working on suddenly jumped… […]

  2. Kolink Says:

    Since this post is over four years old I may be a little late, but nobody’s posted the solution yet :p

    CSS:
    html {overflow-y: scroll;}

    The “problem” is now present in Internet Explorer 8 and all versions of Google Chrome… It REALLY messes things up when the height of the page changes due to dynamic content…

Leave a Reply

It sounds like SK2 has recently been updated on this blog. But not fully configured. You MUST visit Spam Karma's admin page at least once before letting it filter your comments (chaos may ensue otherwise).