PDA

View Full Version : Opacity



mburt
07-23-2006, 05:04 PM
I am wondering if there is a way to set the opacity of an image, say, using css.
Thanks

Twey
07-23-2006, 05:09 PM
There are many, all incompatible with one another. To set half opacity:

opacity: 0.5; // CSS2 (or is it 3?)-compliant browsers
filter: alpha(Opacity=50); // IE
-moz-opacity: 0.5; // Older versions of Mozilla
-khtml-opacity: 0.5; // Older versions of Safari/Konqueror

mburt
07-23-2006, 05:18 PM
Thanks Twey