I'm trying to implement a fix/hack for transparent .pngs when viewed with IE 6, to my wiki.
I know that this fix already works, because I have implemented it on my main site and it works great. It allows you to fix every transparent png with one or two lines in your CSS file, like this:
img {
behavior: url(/CSS/iepngfix.htc);
}
Every image calls this "behavior", which then runs some javascript that is defined in the .htc file. It only affects pngs when the browser is IE 6.
Normally (as on my main site), the path to the .htc file is something local to the site, i.e. the above corresponds to http://www.mydomain.com/CSS/iepngfix.htc.
I am trying to use this in the wikidot file by referring to the file on my main site, since I do not have a way to upload files like this to a local wikidot server folder.
img {
behavior: url(http://www.mydomain.com/CSS/iepngfix.htc);
}
However, I simply cannot get it to work. I suspect that wikidot will not allow this, or blocks it somehow, since I know that it works for me with every other page on my normal site.
Any ideas about this?
BTW, for anyone interested in where the hack came from, this is where I got it: