html, css or other
I'm trying to add a stroke to text in css:
color-stroke:red;
filter:glow(color=FFFF00,strength=3);
This apparently works in safari but I need开发者_运维问答 something that will work in IE, FF, and Chrome..
Any suggestions??
If this doesn't work in Chrome, I would be really amused. Safari and Chrome both are based on Webkit, that features a 100% acid3 test result. Maybe a matter of which extra features are activated.
According to me, the filter:glow features are actually microsoft/IE specific. This page: http://rainbow.arch.scriptmania.com/scripts/glow_link.html has a filter with glow. It works with IE but not with chrome and not with FF.
EDIT: There is a pure CSS3 feature that provides something like you want but probably not exactly the same. http://www.suburban-glory.com/blog?page=114 demonstrates it.
Unfortunately this doesn't work for IE yet. IE has pretty poor css support. I would just ignore it because the upcoming IE will solve all your trouble. So just wait a few months and you'll solve the issue with no effort to workaround a bad implementation in IE.
精彩评论