I am working on a page that has a repeated striped background using this image: http://i29.photobucket.com/albums/c259/thebudman84/work%20related/bgStripe.jpg In IE6 the repeated background displays fine. But when I view it in Firefox, when my wrapper div appears on the page, it shifts the background over a few pixels making it come out of alignment. Here are two pics that highlight the problem:
I am using a web page setup that looks like this: <body> <div id="wrapper"> <div id="header"></div> <div id="nav"></div> <div id="sidebar"></div> <div id="main"> <div id="mainContainer"></div> </div> <div id="footer"></div> </div> </body>
The image problem seems to happen as soon as the "wrapper" div is displayed on the page. Here is the CSS code for my body tag, wrapper tag, and header tag. The layout is a faux column layout (if i remember correctly) so the wrapper background is the same as the sidebar to give the appearance that the sidebar flows down with the main content of the web page: * { margin: 0; padding: 0; } body { min-width: 770px; }
that totals to 774px width. So that could be causing the problem as well. Since IE doesn't know what to do with min-width.(IE can't use min-width) It's probably not having a problem displaying your background image :D
And you shouldn't put the image on the body and html like Steven Perks said.