| Internet Explorer PNG Fix |
|
|
|
When we were adding content to the our website, we used some best quality images and icons in PNG format. Because PNG is an extensible file format for the lossless, portable, well-compressed storage of raster images. Another reason for using the PNG format, was that we were having issues with the transparencies of GIF images especially when we were trying to add shadow on icons and images. We got white areas around the shadows which looked rubbish when placing them over coloured backgrounds. PNG was best available option as it promised to do away with these issues - and certainly within Opera and FireFox it did. But unfortunately Microsoft in all it's wisdom had not implemented the PNG transparencies format properly and we were left dealing with a grey/blue background behind all PNG images. They we tried to findout a solution for this problem and we found our answer on Google, and the code snippet below was the most elegant aboung what we found...
|
|
| Sunday, 17 June 2007 |










When we were adding content to the our website, we used some best quality images and icons in PNG format. Because PNG is an extensible file format for the lossless, portable, well-compressed storage of raster images. Another reason for using the PNG format, was that we were having issues with the transparencies of GIF images especially when we were trying to add shadow on icons and images. We got white areas around the shadows which looked rubbish when placing them over coloured backgrounds.
<!--[if gte IE 5.5000]>
Creative Commons License