BODY { BACKGROUND-POSITION: center 50%; FONT-SIZE: 0.8em; BACKGROUND-IMAGE: url(images/back.jpg); COLOR: #666666; LINE-HEIGHT: 1.4em; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-ALIGN: center; } #container { MARGIN: 0px auto; WIDTH: 904px; background-color:#FFFFFF; TEXT-ALIGN: left; } <body> <div id="container" > </div> </body> Code (markup): though i am making the color of container to white it still shows the background image in firefox. works perfect in IE6 any idea to fix this bug
If that's all that you have on your page so far, then you need to either add some content to the container div, or specify a height for it.
i have added conents (just removed it to make it easy).. but i think this is a problem with firefox not recognising the background-color property