Basically, I am trying to put a semi-transparent div over an image to serve as a background for text for a slideshow. Unfortunately, the browser seems intent on always rendering the img over the background-image. Is there any way to fix this?
Here is my current CSS for the semi-transparent div:
#slideshow .info
{
height: 80px;
margin-top: -80px;
background: url(../../images/slideshow-info-pixel.png) repeat;
}
… with slideshow-info-pixel.png being a single pixel, 50% opacity, PNG 24.
I have so far tried z-index and the CSS must be compatible with IE6.
If I’m correct, what you’re doing is you have the image inserted in the html then you have the transparent div rendered with css.
My suggestion here would be :
CSS :
If you really want to make sure your CSS is IE6 compatible, you should do another template for it. Seriously, making sure you comply with every IE6 quirks is a massive waste of time. The faster way is simply to do a simpler version of your page that only IE6 user would see.