开发者

reduce opacity of "PNG" images in IE

开发者 https://www.devze.com 2023-01-21 15:59 出处:网络
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 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

精彩评论

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