1) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 118.92.--.--
Posted:
If it won't work, please make sure you have checked the following:
1) Remember that the path to the HTC file is relative to the HTML document, not the CSS file! That is, treat it like an IMG SRC attribute. If in doubt, try this:
behavior: url(/resources/style/iepngfix.htc);
where you specify the absolute path to the HTC file (depending of course on where you upload it).
2) If you are sure the path is correct but it still won't work, check that you have a correct MIME type on the server. If you can type in the HTC's full pathname into a web browser "Location" field and it displays as a page of text rather than a popup "Download this file", you have this problem! Try downloading the v1.0RC5 script and trying out either the .HTACCESS file or the IEPNGFIX.PHP file, both of which can easily solve this issue.
3) If you are getting funny borders around your PNGs, make sure that the "blankImg" variable in the source of the HTC file points to the correct location of "blank.gif" on your server. Again, this is relative to the HTML document.
4) If elements are distorted, give them a definite width/height in the CSS/HTML yourself first.
5) If links aren't clickable anymore, move them outside of an absolutely/relatively positioned element and try them again.
6) If it's too slow, try and narrow the CSS selector for the script down to apply to as few elements as possible. Try applying to a particular CLASS perhaps?
7) If it still won't work, browse a few forum pages, chances are someone else has had the same problem :).