Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top