Tuesday, January 12, 2010

Transparency Setting for ALL Browsers

Below is CSS definition that creates transparency for all browsers:


.opacity_70 {
filter:alpha(opacity=70);     /**for IE8*/
-moz-opacity:0.7;             /**for Mozilla*/
-khtml-opacity: 0.7;          /**for Safari 1.x*/
opacity: 0.7;                 /**for FireFox*/
}