We Recommend

Pro JavaScript Techniques Pro JavaScript Techniques
Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, like basic syntax and structures.


Posted By

frakim on 01/13/08


Tagged

fix ie png


Versions (?)


Who likes this?

2 people have marked this snippet as a favorite

jonhenshaw
snucko


PNG Fix iE


Published in: JavaScript 


Fix Transparence iExplorer


  1. <!--[if lt IE 7]>
  2. <script defer type="text/javascript" src="http://imperialcode.com/js/pngfix.js"></script>
  3. <![endif]-->

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: frakim on July 18, 2008

Yes, you're right. I just use it remote to do test quickly without uploading anything.

Posted By: tigercore on March 14, 2008

This works, however my image is also getting resized and is slightly larger than it should be.

I have specified the height and width in the code. Anyone else having this problem? Any suggestions on how to fix?

Posted By: jonhenshaw on January 13, 2008

Thanks frakim. I suggest that it would be best to actually download the JavaScript file that's mentioned in the script source and then link to it locally, instead of using the code snippet as-is.

You need to login to post a comment.