CSS with IE - need -ms filter or not?

I found out about IE's rather ridiculous requirements for shadows, gradients, etc., and I come across some inconsistencies on this:

Many sites suggest that the following lines are required for a gradient / shadow combination:

filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#FFFFFF', EndColorStr='#F8F8F8') progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=170, Color='#C6C6C6');
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#FFFFFF', EndColorStr='#F8F8F8') progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=170, Color='#C6C6C6')"; }

CSS3Please.com offers only the first filter necessary for full compliance with IE 5.5-9, i.e. that the -ms filter is generally useless. Is a -ms filter needed or was this a temporary case in IE development?

+3
source share
1 answer

, , . "-ms-" (, "-moz-" "-webkit-" ) , . , -, prefixed, - , .

P.S. IE 9 CSS3. Windows 7 SP1.

+2

All Articles