I was reading through the list of improvements for KDE 3.4rc1, which I compiled over the last two days on my lappy. One thing stood out for me, as I’m a web developer – the CSS3 item “
So, I set to work. The script I’ve come up with reads through your CSS, notes what elements have a
text-shadow applied to them, then fakes the text-shadow.
Here’s an example page for you to see it yourself.
“So what?”, I here you say.
- Firefox does not yet support text-shadows.
- You don’t have to write hacky CSS for this – just include the script.
This may turn out useful for work, so I’ll see what I can do about IE, tomorrow.
update: I grabbed a copy of Dean Edwards’ cssQuery script. Now, the example should work just about all the time (in Mozilla-based and KHTML-based browsers).