PNG Fix in IE6 and Earlier Version

On modern browsers (Firefox, Opera etc), the [PNG images] halo problem is solved – but not in Windows Internet Explorer prior to version 7. IE 6 and under render the image with an ugly background which looks even worse than the GIF halo.

Here is the solutions, by Bob Osola, a small javascript that fixes the halo problem.

PNG Fix for IE6

Note: It doesn’t work when used with background images.

Update: A solutions that works on backgrounds can be found at PNG Behavior (WebFX)

Leave a Reply


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


You've arrived on the "Advanced CSS/HTML Explained" weblog. Here you will find how can you tackle the more difficult topics of Cascading Style Sheets: Floating theory, Forms, Tables, Navigation elements, CSS Positioning. Also you will find lots of Resources, Tutorials, Articles, and Tips, Tricks Tools, and Techniques on CSS.

Subscribe to our RSS Feed Follow us on Twitter

Recent Posts

Categories

Twitter Updates

Bookmark and Share