I have a website with a colorful image for the background. Over that I have a semi-transparent box with text inside of that.
It works fine in all modern browsers on Safari, Firefox, Opera on the Mac and Firefox on Windows, but IE 6 and IE 8 there is no background under the text at all. I've tested several methods to do this but none of them work in IE.
Here is the code I'm currently using - supported by CSS3.
#content4 {
width:900px;
margin:0 30px 0 30px;
border:1px solid #000000;
background-color:#ffffff;
/* for IE */
filter:alpha(opacity=60);
/* CSS3 standard */
opacity:0.6; }
Can someone tell me how to get this to work and if not then at least get a plain background in Win IE 6 and Win IE 8 and still show the semi-transparent background in other browsers?
I also tried this one with the same results.
#content6 {width:900px;
margin:0 30px 0 30px;
border:1px solid #000000;
background:rgba(255,255,255,0.6)