opacity in IE

cyberphant0m

Member
Oct 21, 2003
99
0
0
I need to add opacity to a couple of elements in IE. The page is done in XHTML/CSS, no tables.

I have a div, with a background image, and on top of it, is an H2, and another div. the H2 and the second div are supposed to be slightly transparent to show some of the image behind them. the effect works more or less in Firefox (the text is slightly transparent, which i would like to eliminate), but in IE, the box and the H2 are fully opaque... Is there some workaround?

Thanks in Advance...
 

screw3d

Diamond Member
Nov 6, 2001
6,906
1
76
I don't think opacity is in W3C CSS2 specs.. so it won't be uniformly supported by all browsers. Just google for "css opacity" and you see many pages that shows you how to code specifically for each browser (which is not a very nice way to do it).