CSS3 allows you to set opacity for text, images, or sections. Here's the magical code that allows us to do so. This code is compatible with Firefox, Safari, and Opera 9.
Code:
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* IE 5.5+*/
-moz-opacity: 0.5; /* Mozilla 1.6 и ниже */
-khtml-opacity: 0.5; /* Konqueror 3.1, Safari 1.1 */
opacity: 0.5; /* CSS3 - Mozilla 1.7 +, Firefox 0.9 +, Safari 1.2+, Opera 9 */
Code:
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* IE 5.5+*/
-moz-opacity: 0.5; /* Mozilla 1.6 и ниже */
-khtml-opacity: 0.5; /* Konqueror 3.1, Safari 1.1 */
opacity: 0.5; /* CSS3 - Mozilla 1.7 +, Firefox 0.9 +, Safari 1.2+, Opera 9 */