Hello, I am having issues getting my website background image (header) to display in Internet Explorer. The image appears perfectly fine in Mozilla Firefox and I am unsure what the problem is. Website URL: http://www.wow-origins.com I am referring to the top of the page where the face can be seen in Firefox but not IE. Any help would be appreciated
Replace in style.css #backgroundImg { width: 1460px; background: url(http://www.wow-origins.com/assets/images/face.jpg)top left no-repeat; margin: 0 auto;} Code (markup): to #backgroundImg { width: 1460px; background: url(http://www.wow-origins.com/assets/images/face.jpg) top left no-repeat; margin: 0 auto;} Code (markup): Or just add a space between "url(http://www.wow-origins.com/assets/images/face.jpg)" and "top"!!!
I already had the space included between the close parenthesis and the "top" and the background displays properly in FF but not in IE. From my CSS: background: #3E4095 url("../../images/background_pixel.gif") top repeat-x; The background_pixel.gif if a fade effect which is why I also have a background color, so that if someone scrolls further than the length of the background pixel, then the background is already the same color that the graphic ends in. Any suggestions?
Never mind... I figured it out. In my case I had to change the !DOCTYPE declaration to: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlnsg="http://opengraphprotocol.org/schema/"> Once the declaration was changed from *ahem* HTML 1 to 4 everything worked fine.
In another forum I always see, members are requested to check on doctype (if used or not or correct) before they post any IE related issues. A sticky note may be.