Monday, October 27, 2008

IE6 Transparent PNG Fix For New BANS Templates


OK, we have all seen the new BANS templates with the transparent PNG images that gives Internet Explorer 6 fits. There is a workaround or at least a livable fix I have found that at least makes the site look decent in IE6.

the fix home page can be found here.

Download this zip file to your harddrive.

Copy and paste the below code in front of the last </head> tag in your header.php file.

<!--[if lt IE 7]>
<script type="text/javascript" src="unitpngfix.js"></script>
<![endif]-->

Upload the unitpngfix.js file to the root of your site.

Upload the clear.gif image file to the images folder.

Reload your site in IE6 and see if you are now seeing color where once was clear. If you do not see that it is fixed, open the unitpngfix.js file in a text editor and make sure all the paths are correct. Make sure it points to the image folder and file that you uploaded the clear.gif image file to.

lastly you should urge all your friends, enemies, pastor, ex wives, mistresses and anyone else that they should upgrade from IE6 to IE8 or make the jump to Firefox. Coders are caring less and less about Internet Explorer 6 as it is a farce of a browser.

Related Posts by Categories



1 comments:

Anonymous said...

Good stuff. Works as advertised. Thanks.

Followers

Twitter Updates

    follow me on Twitter
     

    Build A Niche Store Blog. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted by Bloganol dot com Privacy Policy