Search code examples
cssinternet-explorer-9

text shadow in Internet Explorer 9?


I have a div that has this property:

text-shadow:2px 2px 3px #252525;

It works great in Firefox 5, but Internet Explorer 9 does not show it. I thought IE 9 was supposed to support CSS3?

How can I get a similar result in IE then?


Solution

  • IE9 does not understand text-shadow property. You can use filter property (IE only) instead:

    text-shadow:2px 2px 3px #252525;

    can be replaced with

    filter: Shadow(Color=#252525, Direction=45, Strength=2);

    The result must be similar.