Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Cross Browser Opacity Re: Cross Browser Opacity

#110561
zethos
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;
}