FireFox removes header image [SOLVED]
Posted: Thu Mar 22, 2007 11:57 am
I have encountered a problem where my header image has been removed.
I have used Firebug to examine the HTML/CSS and I have traced the problem to the CSS.
My CSS look like this:
But when viewed in FireFox the CSS changes to this:
The background tag has gone. The image is displayed in IE but not FireFox.
Anybody got any ideas why?
I have used Firebug to examine the HTML/CSS and I have traced the problem to the CSS.
My CSS look like this:
Code: Select all
div#header h1 a {
background: #000 url(images/Classic Logo Silver.jpg) no-repeat center center;
display: block;
height: 145px; /* adjust according your image size */
text-indent: -999em; /* this hides the text */
text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
Code: Select all
div#header h1 a {
display:block;
height:145px;
text-decoration:none;
text-indent:-999em;
}
Anybody got any ideas why?