Transparent Images
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/.
精彩评论