开发者

Transparent Images

开发者 https://www.devze.com 2023-01-06 10:55 出处:网络
Does anyone know if IE now supports t开发者_如何学Pythonransparent png\'s etc...? Does chrome as well?IE7+, and every other modern browser including Chrome, supports PNGs with alpha channels.

Does anyone know if IE now supports t开发者_如何学Pythonransparent png's etc...? Does chrome as well?


IE7+, and every other modern browser including Chrome, supports PNGs with alpha channels.

The only drawback to watch out for in IE7-8 is that alpha channels do not play nicely with the IE-specific alpha filter typically used as fallback for CSS opacity.


Every mayor browser does (so that includes chrome). Only IE6 doesn't, but I wouldn't consider that a problem. So yes, you can use semi-transparent png's.


The older versions of IE don't support transparency, but there are a lot of fixes out there -- for example, http://jquery.andreaseberhard.de/pngFix/.

0

精彩评论

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

关注公众号