Transparent CSS settings that are compatible with all browsers:
{ 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 is a for-the-the-versions of Safari (1.x) when the rendering engine it was using were still referred to as KTHML, as Opp Osed to the current WebKit.