views:

444

answers:

2

The following css creates a nice neon-glow effect around text

{
    text-shadow: 0em 0em 0.3em white; /* assuming a dark background */
}

However it doesn't work in IE7/8

For a reference, compare this page in Firefox and IE

Is there a way to get a similar effect in it?

A: 

As you noticed, text-shadow only works in modern browsers. IE has something that might help in their proprietary filters called glow but I don't know anything beyond that.

Rob
+2  A: 

Won't work in IE8, since text-shadow is a feature of upcoming CSS3. However you might add a secondary rule for IE7/8, called filter:Glow (invalid CSS syntax, proprietary to Microsoft).

You can get more info on MSDN.

Marcel J.
hmm, interesting. but the examples on that link are quite ugly
hasen j