开发者

reduce opacity of "PNG" images in IE

I want to reduce opacity of "PNG" images in IE. Alpha filter works well in mozilla but in IE 开发者_运维技巧there is black outline around image.

I dont want transparent PNG image for IE. I want to set opacity of PNG image in IE.

Thanks alot for help

Regards


In IE9, replace the Alpha filter with native CSS3 opacity. Downlevel, it's not really possible due to the "outline" problem you mention.


Firefox uses the property opacity:x for transparency, while IE uses filter:alpha(opacity=x).

http://www.w3schools.com/Css/css_image_transparency.asp

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜