Skip to main content
Home Forums png - ie/win fix worked for PC! but now screwed on safari and firefox
png - ie/win fix worked for PC! but now screwed on safari and firefox
· Troubleshooting · 4 posts · May 11, 2005 — May 12, 2005 View original thread ↗
[capitan] howdy

so after trying fixes for displaying png's with transparency in IE/PC, I tried this and it actually worked. my client can now see the image transparency, and the dhtml movement is also active for them. finally.

but, now on safari the image is completely invisible, and in firefox the image is invisible, and the dhtml ani isn't running.

here's the image code

<img src="blank.gif" style="width: 100px; height: 100px; filter:
progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/rainfresh_shape_09.png', sizingMethod='scale')"/>

anyone see where the conflict may be?

tanks[h]
snif
Quote:
Originally Posted by sniffylinings
<img src="blank.gif" style="width: 100px; height: 100px; filter:
progidXImageTransform.Microsoft.AlphaImageLoader (src='images/rainfresh_shape_09.png', sizingMethod='scale')"/>


Safari and Firefox are loading the blank gif. They have no idea what to do with the AlphaLoader code, so they ignore it. As far as fix goes, I can't help you. I've been looking into this problem myself.
I ran into the same trouble on a site I was working on. I found this png behavior at http://webfx.eae.net/ and it works flawlessly for me. All you have do to is drop in:

code:

<style type="text/css">
img {
behavior: url("pngbehavior.htc");
}
</style>



and you're good to go.
mp.ls