html - CSS3 Box Shadow Effect for IE8? -
i have following style effect:
it works in ie9 , chrome not in ie8. should change make work in ie8.
please note have applied style tag encapsulating image.

border-collapse: separate !important; box-shadow: 0px 0.5px 11px 4px #888888;
you can use ie specific filter css rules acheive , forgo css3pie entirely.
this give close looking for.
filter: progid:dximagetransform.microsoft.shadow(color=#aaaaaa,direction=0,strength=5), progid:dximagetransform.microsoft.shadow(color=#aaaaaa,direction=45,strength=2), progid:dximagetransform.microsoft.shadow(color=#aaaaaa,direction=90,strength=5), progid:dximagetransform.microsoft.shadow(color=#aaaaaa,direction=135,strength=5), progid:dximagetransform.microsoft.shadow(color=#aaaaaa,direction=180,strength=10), progid:dximagetransform.microsoft.shadow(color=#aaaaaa,direction=225,strength=5), progid:dximagetransform.microsoft.shadow(color=#aaaaaa,direction=270,strength=5), progid:dximagetransform.microsoft.shadow(color=#aaaaaa,direction=315,strength=2); a demo can viewed here: http://hedgerwow.appspot.com/demo/shadow
and more information on ie filters see msdn article: http://msdn.microsoft.com/en-us/library/ms532847(v=vs.85).aspx
many of these filters have been supported since ie4, before css2, , @ time when no browser supported css1. if think glow filter looks ugly blame on 1997 not microsoft. ;)
Comments
Post a Comment