PNG Fix

November 27, 2006

MS Internet Explorer does not support transparent PNG files. But there’s hope, Bob created a solution, it’s a simple JavaScript code to get rid of the problem.

How to use?
Create a file named pngfix.js which contains this code. Place the file in your webpage directory, then add the following construct on each of your pages somewhere in the ‘head’ section:

<!--[if lt IE 7.]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
Advertisement

One Response to “PNG Fix”

  1. Essee Says:

    I’m about to implement this also in my website, nice trick when you must use some PNG stuff.

    Where are the new entries? It’s quite silent around here now :(


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.