Posts Tagged ‘Dealing with IE6 Alpha Transparency’
PNG popularity has mostly been held back by Internet Explore’s lack of support for Alpha Transparency in IE6 and below. With IE7, PNG support isn’t perfect but it’s suitable for most cases. With little search you will find various examples with complex CSS, scripts, Microsoft filter to force transparency, but would that help you if you don’t have the time for all that fuss!
The closest and easy way to solve this problem when working with small icons (16×16) is Fireworks Animated Gif. Open your PNG image in Fireworks and export it as an Animated Gif with Alpha Transparency and that nasty solid grey background in IE6 will disappear!
You can also use a filter which overrides the CSS:
* html #image-style {background-image: none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=”filename.png”, sizingMethod=”scale”);}
















Latest Comments