Hi I am trying to center a background image in the body of a web page. It works in IE but not firefox. Here is a piece of the style I am using. body{margin-left:auto;margin-right:auto;text-align:center;background:black;background-image:url(image10.png);background-repeat:no-repeat }
That is not information. Need to see the complete markup or a link. In any case, Firefox is showing what you wrote. IE is not. The problem will be with you looking at IE and trying to fix Firefox.
this should help: body { background: url(images/yourimage.jpg) fixed center no-repeat; margin:0; padding:0; } here´s what w3schools say about: FF positioning: http://www.w3schools.com/css/tryit.asp?filename=trycss_background-position