Home › Forums › CSS › Cross Browser Opacity › Re: Cross Browser Opacity
September 22, 2012 at 9:23 pm
#110561
Participant
It was misspelled, thanks : )
I used the opacity code from above but still nothing, any ideas what I’m doing wrong?
#gray {
position:absolute;
right:0px;
top:0px;
width:100%;
background-color: #000000;
border-bottom: 2px solid #FFFFFF;
/* IE 8 */
-ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=40)”;
/* IE 5-7 */
filter: alpha(opacity=40);
/* Netscape */
-moz-opacity: 0.4;
/* Safari 1.x */
-khtml-opacity: 0.4;
/* Good browsers */
opacity: 0.4;
}