Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
easy png transparency in ie6
Just came across this article which might be of use here.
As the code does not validate i use it in an ie conditional in the head
<!--[if IE 6]>
<style type="text/css">
/*<![CDATA[*/
img, #yourdiv { behavior: url(iepngfix.htc);}
/*]]>*/
</style>
<![endif]-->
enjoy
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: easy png transparency in ie6
Looking good.
But where do you save the file ‘that must be in the CSS directory’ (as stated in the article)?
…Prrrrrrrr…
Offline
Re: easy png transparency in ie6
I just uploaded it in the server and the called it in the conditional css
<!--[if IE 6]>
<style type="text/css">
/*<![CDATA[*/
img, #yourdiv { behavior: url(http://mysite.com/iepngfix.htc);}
/*]]>*/
</style>
<![endif]-->
in the code you have to change #yourdiv to wherever you have the png and mysite.com:)
Last edited by colak (2006-12-31 16:30:33)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: easy png transparency in ie6
It works! Thanks again for this great tip.
…Prrrrrrrr…
Offline
Pages: 1