Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > 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
Thread Tools
Fresh-Faced Recruit
Join Date: May 2005
Status: Offline
Reply With Quote
May 11, 2005, 03:00 PM
 
[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
     
Junior Member
Join Date: Sep 2000
Location: Michigan, USA
Status: Offline
Reply With Quote
May 12, 2005, 10:12 AM
 
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.
     
Dedicated MacNNer
Join Date: May 2001
Location: Ze goggles, zey do nothing
Status: Offline
Reply With Quote
May 12, 2005, 11:02 AM
 
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.
     
Junior Member
Join Date: May 2004
Status: Offline
Reply With Quote
May 12, 2005, 12:30 PM
 
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:31 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2