Wednesday, July 21, 2010

Opacity in CSS

http://www.quirksmode.org/css/opacity.html

A/N: This still doesn't work when I'm in a SharePoint LayoutsPageBase page (With application.master)

IE compatibility note

If you want opacity to work in all IE versions, the order should be:

.opaque {  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; // first!  filter: alpha(opacity=50);     // second! } 

If you don’t use this order, IE8-as-IE7 doesn’t apply the opacity, although IE8 and a pure IE7 do.

No comments:

Post a Comment