IE6 和 PNG 透明色

March 4, 2008 10:36 pm GMT-0700 | In Tech


今天又碰到有人说 IE6 不支持 PNG 透明色,真是无语……所以干脆跑上来拜一下康神好了。上面三张图分别是 PNG-8,PNG-24 和 GIF。IE6 不支持的只是 PNG 的 alpha 通道(256 级可调半透明色),PNG-8 索引色里的完全透明色还是支持的。正常浏览器能看到三尊金色背景的康神;IE6 里中间那尊 PNG-24 康神则没有金色背景。

P.S. IE6 可以用 filter 弄 alpha 通道。

Tags: , , ,


RSS feed for comments on this post.

  1. orz A core

    Comment by fuevan — March 11, 2008 11:23 pm GMT-0700 #

  2. IE on WM6.1 displays all three, and the middle one has best effect. Maybe it’s not IE6?

    Comment by roam — March 12, 2008 4:27 am GMT-0700 #

  3. stO A core

    Comment by paranoia — March 12, 2008 6:34 am GMT-0700 #

  4. Internet Explorer Mobile’s layout engine was written from scratch and has nothing to do with IE on WIndows platform…

    PNG-24 looks the best because anti-aliasing is used in full alpha channel.

    Comment by atppp — March 12, 2008 10:07 am GMT-0700 #

  5. 康神,究竟是什么……..

    Comment by nailear — March 12, 2008 3:47 pm GMT-0700 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This weblog is licensed under a Creative Commons License.
Powered by WordPress. Theme based on Pool by Borja Fernandez.