Here's a helpful script that solves that problem, Angus Turnbull's IE PNG Fix.
The script adds near-native PNG support with alpha opacity to IE 5.5 and 6. A simple one line in your CSS will do the trick. It works on img tags and background images.
How to Use?
Just follow these simple steps:
- Download the iepngfix here and extract it.
- Copy and paste iepngfix.htc and blank.gif into your website folder.
- Input this in your CSS code:
img, div {
You can use any tags (e.g. input, a, p)
behavior: url(iepngfix.htc);
} - If you want the blank.gif inside a folder make sure you edit the iepngfix.htc and change the blankImg variable.
var blankImg = '/images/blank.gif';
- That's it! If you encounter problems check it out here.


0 comments:
Post a Comment