Reputation: 203
filter: progid:DXImageTransform.Microsoft.Alpha(style=1,opacity=80 ); opacity: 0.5; -moz-opacity: 0.5
This works well with IE but I want this to work in mozilla also. What is the solution?
Upvotes: 0
Views: 2055
Reputation: 298898
These are three definitions that do the same thing:
filter: progid:DXImageTransform.Microsoft.Alpha(style=1,opacity=80 ); // IE only
opacity: 0.5; // CSS 2, FireFox supports this from version 3
-moz-opacity: 0.5 // FireFox only, pre 3.x versions
See opacity on QuirksMode, CSS compatibility on QuirksMode
So, it does work in Mozilla FireFox in versions 3.x and higher.
Upvotes: 1
Reputation: 36081
opacity:0.5
should be working in mozilla, see https://developer.mozilla.org/en/CSS/opacity
Have you ran firebug or anything to see if the another style is being applied?
Upvotes: 0