- Create Account

IEPNGFix Install

Forums > IEPNGFix > IEPNGFix Install
Author
Message

1) freejoy Group: Members
Posts: 2 Joined: 26 Apr 2008 Location: CO IP: 71.208.--.--
Hi,

I was wondering if I correctly installed IEPNGFix?

I  downloaded the folder and copied the two files (blank.gif , iepngfix.htc) and put them into my websites directory. Also, I put the following code into the head of my pages:

<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" media="screen"
href="ie.css" />  
<![endif]-->

Then  I put this code into my Stylesheet:

img {
behavior: url(iepngfix.htc);
}


The reason I'm asking is because in the instructions it says, "...and you have to set the 'blankImg' variable in the HTC file to point to this GIF, otherwise you'll get the "broken image" marker with your PNGs."

I can't open the HTC file to make sure it's pointing to the GIF blank.


Thanks!

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.173.--.--
Well, if your PNGs are transparent in IE6 then the script is working OK and you don't have to worry. You'll only have to edit the HTC if your script uses several subfolders. Use a text editor like Notepad to edit the file.

Good luck - Angus.

3) freejoy Group: Members
Posts: 2 Joined: 26 Apr 2008 Location: CO IP: 71.208.--.--
Thanks,

I haven't tried it yet. I have IE 7. I'm very new to all this but just wanted to make sure most people see the same thing I do. I'll let you know.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.