PDA

View Full Version : png fix for ie6



sudhakararaog
Oct 2nd, 2009, 03:33 AM
i am using a png image and i have used the code and the iepngfix.htc file however in ie6 the issue is not fixed and also when i run the html file i get a pop up error
==================================================
An error has occurred in the script on this page

Error: Access is denied to filepath/iepngfix.htc
==================================================

i am presently running this file on a local computer, not on any webserver or a localhost

my html code is

<div class="divname">
content <br />
<img src="info.png" />
</div>

my css code is

img, .divname{
behavior: url(iepngfix.htc)
}


i also tried

img, div{
behavior: url(iepngfix.htc)
}


the iepngfix.htc file is in the same directory as the html and css file

please advice how to fix this.

thanks.