Opacity for Internet Explorer

Posted by & filed under Odds.

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

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

The first line is for IE8, the second for IE5-7.

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

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>