Unhandled Perception
From the mind of a developer.

Thursday, February 07, 2008

How to fix PNG opacity in IE6 (IE PNG FIX)

You know that one browser that has only a vague association with modern web standards? Yeah, Internet Explorer. Wouldn't it be great if it supported stuff like translucent PNGs?

Well, now you can add decent PNG support to IE5.5+ on Windows with no changes to your website HTML source code. This script will add near-native PNG support with full alpha opacity, with only one line in your CSS file, that applies to all tags and also background images!


This was just implemented in a project or mine that uses lots of high quality, transparent background, PNG files. Added it in about 2min and it works like a charm.

Link:
http://www.twinhelix.com/css/iepngfix/

In case you want another option check out this IE PNG Fix. Implemented just as easy but seemed to cause issues with img tags that use the vertical-align css property.

Labels: ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home