The best way to support Transparent PNG in IE6

There are many way to support transparent .png images in IE browsers. However, this method seems the simplest and most “transparent to work with. It uses CSS compliant JavaScript .htc files and can be easily called thought the

behavior: url(iepngfix.htc);

How to implement:

  • Download and save the following files to your CSS path: iepngfix.htc and blank.gif (right click and “Save as…”)
  • Then, paste this code into your CSS file: 
    img { behavior: url(iepngfix.htc); }

Read more on this from Olav Bjorkoy. and Angus Turnbul

If you place the blank.gif in any other directory open the .htc and change the path there. 

Leave a Reply