Anne van Kesteren

PNG in IE

I found a really (really!) nice solution to get PNG alpha channels in IE. You need to do 2 things:

  1. Download
  2. Copy:

    <style type="text/css">
    img{
     behavior: url("pngbehavior.htc");
    }
    </style>

Was that difficult? No. Does it work? Yes (for Mozilla users: right-click, start up IE, paste the URI and visit the site).

Be sure to check out the rest of the WebFX site.

Comments

  1. You forgot one very important thing... The code you gave is not valid and thus will not validate. It is an IE-only CSS extension. Just thougt you should know... ;)

    Greetings from me, who has just returned from a great vacation in Turkey.

    Permalink · 2003-08-04 15:41:25 · Bas Hamar de la Brethonière

  2. YAY! :-)

    Permalink · 2003-08-13 18:48:43 · T. Ulling

Comments are closed

Sorry, comments are closed at this time.