For some reason I'm having issues displaying a background image in IE 7 and IE8. In IE9 and more modern browsers it works and outputs the following:
(The CSS produces the grey bordered elements around the Login)
However in IE7 and IE8 all I get is the following:
I cannot remember having this issue with other sites that I made cross-compatible but then again I try and avoid using images nowadays to save on page load times.
My CSS is as follows:
#contentright .panel {
background-image: url("/incl/images/bg_panel200.gif");
background-repeat: no-repeat;
}
#contentright .panelbottom {
background-image: url("/incl/images/bg_panelbottom200.gif");
background-position: center top;
background-repeat: no-repeat;
}
I did a quick Google search and some previous Stack Overflow answers have suggested amending the CSS to the the following format:
background: url('/incl/images/bg_panelbottom200.gif') no-repeat center top;
However this doesn't appear to work either.
Thanks in advance.