Affordable Web Hosting with Excellent Customer Support internet connection free month hosting

PNG Transparency fix for Internet Explorer

Here is a simple trick to use when transparent PNG's will not display correctly in Internet Explorer (which is always)

First you will need to download these two files, and upload them to your web server: msie.htc & blank.gif

Then add this CSS in between the "head" tags of your web document:

@media screen { img { _behavior: url(msie.htc); } }

If you want to apply to other elements, list the elements along with img. Try and keep the number of elements modified low- as this requires DirectX to work, and it eats memory.

Example


Without fix

With fix