View Full Version : Firefox Shifts my layout

01-11-2008, 08:19 PM
Iím having the following problem with FIREFOX and surprisingly not with IE. When I have something scrolling it seems to shift the page a pixel to the left. When maximized it looks fine, which makes absolutely no sense. This is driving me nuts, has anyone run into this problem?



Any help would be really appreciated.

01-11-2008, 09:09 PM
Hello phasetrip,
It's FF's way of centering your background. Depending on the width of your browser there may be an even or odd number pixels to center.
So it can move back and forth 1px while your resizing the width.

A few other things...
body {
margin: 0 auto;
margin-left: auto;
margin-right: auto; background: url(../images/top-header-bg.jpg) center repeat-y #797565;

#container {
margin: 0 auto;
width: 943px;

That bit in red up there. Your body is the full width of the browser, so nothing to center... especially nothing to center twice.

Check my suggestion and links about validating in my sig.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum