views:

54

answers:

2

I would like to use the Matrix filter, however it does not work at all in IE9, unlike in IE8. Was the filter idea deprecated with the new version? Is here any way to get it working? Thanks

+2  A: 

Are you using the new -ms-filter syntax?

-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=50)";

And could you provide your current code?

meder
Yes, I've tried it with/without vendor prefix, without quotes and all other combination.
Mikulas Dite
Are you going to post your code?
meder
@meder I don't have any. I tried many variations but nothing worked. My question is whether __any__ ms filter works in the 3rd IE9 preview.
Mikulas Dite
Can you at least post your variations?
meder
@meder It's obvious, but yeah: `-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=50)";``filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=50)";``-ms-filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);``filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);`
Mikulas Dite
+1  A: 

If I remember correctly, they have removed filters in IE9 standard mode in favor of CSS3 styles. Try forcing IE8 mode with the following meta-tag or an equivalent HTTP header:

<meta http-equiv="X-UA-Compatible" content="IE=8" />
DASPRiD