. transparent_class {Filter:alpha (opacity=50); -moz-opacity:0.5; -khtml-opacity:0.5; opacity:0.5;}
UPDATE: I wanted to pull this post out of the archives and update it a bit because it there seems to be a good amount of Interest in this subject.
Those CSS properties are for:
-
opacity:0.5; This is the ' most important ' one because it is the ' current ' in CSS. This would work in the most versions of Firefox, Safari, and Opera. This would is all need if all browsers supported the current standards. Which, of course, they don ' t.
-
Filter:alpha (opacity=50); This one is need for IE.
-
-moz-opacity:0.5; You need this one to the support-by-the-school versions of the Mozilla browsers like Netscape Navigator.
-
-khtml-opacity:0.5; This are for-the-the-versions of Safari (1.x) when the rendering engine it was using was still referred to as KTH ML, as opposed to the current WebKit .
CSS Transparency Settings