In a recent discussion over at Signal vs. Noise, an anonymous poster who calls himself 'Darrel' complained about a "centering bug" that causes a portion of the page to be off to the left of Firefox's viewport. I initially thought: "Duh, just scroll to the left." But, as he explains, the scroll bar is already all the way to the left and he cannot scroll left. Come to think of it, I have seen this before and always attributed it to poorly implemented code. Not the kind of thing you would expect from Jason Fried and company.
What really intrigued me was that I was also using Firefox and did not see the problem. It immediately occurred to me that 'Darrel' could very possibly be viewing the page with a smaller resolution. So I went up to the handy Web Developer toolbar and resized the window to 800x600. Hmm, no problem here. In fact, the fixed width page seems to fit perfectly with no more than maybe a 5px margin on either side. How about 640x480? Aha, here the problem becomes apparent (view screenshot).
After some additional resizing it seems that Firefox centers the page in the viewport regardless of the size of the viewport, which could arguably be considered more correct than certain other browsers which left justify the page when the viewport is not large enough to display the entire width of the page. (Whew, that's a long run-on!) The problem, as mentioned, is that the scroll bar does not allow the user to scroll to the area that runs off the left side of the page. A bug? Yes! But in SvN's CSS or in Firefox?
Whether there is a problem with Firefox or not, 'Darrel' provides a solution/workaround/hack. He suggests giving "BODY a min-width equal to the width of the [centered] wrapper DIV." So I fire up the Edit CSS plugin and follow his advise. Sure enough, it works! (view screenshot) The page is now left justified just like other browsers.
As he later points out, even a big name like Macromedia has this problem. I think this can serve as a lesson. Just because you have a fixed width site doesn't mean you don't need to check your site in a smaller that intended viewport. You could inadvertently make it impossible for some users to access all the information on your site in their preferred browser.
Update It appears that SvN has since corrected the problem. It seems they were not resizing the window far enough to detect it.

