Slashdot Mirror


PNG Second Edition Is a W3C Proposed Recommendation

Quadraphonic writes "I'm surprised I haven't seen this yet: PNG Second Edition is a W3C Proposed Recommendation. Thoughts?"

2 of 66 comments (clear)

  1. Re:Great! by brianmf · · Score: 5, Informative

    Maybe some of you could take the time to sign a petition to help get (proper) PNG support in MSIE?

  2. PNG support in MSIE 5.5 by ptaff · · Score: 5, Informative

    You can actually display alpha layered PNGs on Microsoft Internet Explorer, starting from version 5.5, using an ugly workaround using DirectX and a CSS3 directive.

    Now, be prepared: it will work _only_ with tags, so no alpha for background images yet. Still, it's an improvement.

    I still don't get why they didn't implement it properly in the first place, let's not talk about it, it's a 1996 recommendation and I'm already so mad and frustrated by their bogus workarounds covering their flaws (XML parser bugs, ignores the IGNORE directive in DTDs, anyone?)

    Anyway, the trick is to use a CSS on all images:

    img { behaviour: url('/path/to/.htc'); }

    using the .htc file coming from here:
    Thanks

    You just have to point to a 1x1 spacer GIF in the .htc source.

    Works pretty fine, is compatible with Opera/Mozilla/IE and _at last_ you can get rid of 1988-oriented GIFs.

    Should you want to support IE 5.5, welcome to the future of the web of yesterday :)