Muath
Muath

Reputation: 4417

text-shadow on IE doesn't work

I use this in my CSS:

text-shadow: 1px 1px 1px black;

Text on IE: IE

Text on Firefox:Firefox

and here Fiddle

How can I let it work on IE too? thanks.

Upvotes: 1

Views: 631

Answers (1)

Farshid
Farshid

Reputation: 5344

USE MS-Filter..

p.shadowed {
  text-shadow: #0000ff 0px 0px 3px; /* Modern browsers */
  filter: glow(color=#0000ff,strength=3); /* IE */
  //alternative
  //filter: dropshadow(color=#ffff00,offX=5,offY=5);
}

Upvotes: 2

Related Questions