I’ve got two problems with disappearing backgrounds in IE6.
One is a background image on a p element which disappears as soon as a link inside it is hovered.
It appears to be caused by the p’s negative top-margin. Yet the negative margin needs to be there for layout reasons. I couldn’t find any info about this iIE issue, thus far.
The second problem is the body’s background image which doesn’t show up at all in IE, for no apparent good reason. The path and file names are correct. It works fine in FF. But in IE the body’s background picture seems to not exist.
relevant html code:
[CODE]
<body>
<p class=”ph2″>
blahhhhhhhhhhhhhh. Blaahhhhhhhhhh. Blaahhhhhhhhhh.
</p>
</div>
relevant CSS code:
[CODE]
body {
font: 0.9em verdana, arial, sans-serif;
text-align: center;
margin: 0; padding: 1px; /*attempt at giving it “LayOut” for IE*/
background: url(../bg/body-upgr.jpg) repeat-x;/*invisible in IE*/
}
.ph2 {
font: bold italic 0.8em helvetica, arial, sans-serif;
text-align: center;
padding: 5px 20px 0 0;
margin-top: -5px; /*seems to cause the problem for this element*/
background: url(../bg/blst.jpg) 100% 0 repeat-y;
}
Any help will be appreciated [RIGHT]:mad:[/RIGHT]