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 > fallen, can't get up: golive [cs] floating boxes loose transparency in IE pc

fallen, can't get up: golive [cs] floating boxes loose transparency in IE pc
Thread Tools
Fresh-Faced Recruit
Join Date: May 2005
Status: Offline
Reply With Quote
May 8, 2005, 06:07 PM
 
hello.

I have a page set up using floating boxes in an animation. the images in the boxes are png 24's, used so translucent elements can pass over each other without a stroke being visible.

in all browsers [mac and pc] except IE for pc, the boxes are clear, the png's pass over as they're supposed to.

in IE for pc the floating boxes show up as white boxes around each png.

anyone run into this? is there an ie fix I can ambed?

the ani is at http://sniffylinings.com/rainfresh_site/site/front.html
though I'm fairly new to css, I've set up an external style sheet at rainfresh_site/rainfresh.css



someone please tell me it's not IE isn't yet supporting png's I know it's only been what, three years or so.

thanks very much all.
p
     
Dedicated MacNNer
Join Date: Nov 2001
Location: Are Eye
Status: Offline
Reply With Quote
May 8, 2005, 06:43 PM
 
IE isn't yet supporting pngs.

Sorry.

There are alternatives with javascript, typically. But they are hardly perfect, especially with DHTML.
     
Fresh-Faced Recruit
Join Date: May 2005
Status: Offline
Reply With Quote
May 9, 2005, 02:38 PM
 
Originally Posted by registered_user
IE isn't yet supporting pngs.

Sorry.

There are alternatives with javascript, typically. But they are hardly perfect, especially with DHTML.

hey, thanks very much. I took a look at the source. I'm wondering if there'd be a way to apply it globally instead of what seems like actually setting it up for each image and each page. I have to go over it again, but it seems like the solution on: http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html doesn't do that.

also, my client will be using an out of the box shopping cart system, they haven't chosen one yet, but I do know I'll be setting up a table with thumbnails in another floating box. you happen to know if the fix will clash?

thanks again.
p
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
May 9, 2005, 04:35 PM
 
IE supports PNGs, except those with transparency. There are some hacks to get around this, but the bad news is that the next revision of IE still doesn't support them right, because their codebase is so screwed up that they can't even do proper transparency without massive rewrites.

But I'm not bitter about IE having held back the Web for the past four years, now am I?
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Administrator
Join Date: Mar 2000
Location: Land of the Easily Amused
Status: Offline
Reply With Quote
May 9, 2005, 04:56 PM
 
sleight has always worked for me.
     
Fresh-Faced Recruit
Join Date: May 2005
Status: Offline
Reply With Quote
May 9, 2005, 06:20 PM
 
Originally Posted by Demonhood
sleight has always worked for me.

hmm. thanks for the info. maybe is slight doesn't work maybe I can set something to detect if the browser supports png, and if it doesn't have it load gifs into the floating boxes and just turn off the dhtml ani feature [?]

I've never needed to do that kind of thing before so I'm not sure if it's possible. maybe there's something I can place in the stylesheet to avtivate that globally. any ideas?

the only reason I mention it is because I've found there's people who have found the slight fix not to work, and I'm not sure what the variables are which give people inconsistent results.

though tomorrow am I plan to start trying out the various fixes.

also, it's strange, but ie for mac works just fine when I test with it.
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
May 10, 2005, 05:59 AM
 
IE/Mac supports PNG just fine; in fact, it was one of the first browsers to do so. Only IE/Win has problems with the format.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Fresh-Faced Recruit
Join Date: May 2005
Status: Offline
Reply With Quote
May 10, 2005, 11:38 AM
 
Originally Posted by Millennium
IE/Mac supports PNG just fine; in fact, it was one of the first browsers to do so. Only IE/Win has problems with the format.

hm. I found something which might be of interest and maybe even help.

going through the source I happened to notice a correlation between the boxes in ie, and something in the golive dhtml ani script. which is this: <cstrack layer="bag" parts="0,0,0,,1,1,#ccccff"></cstrack>

the reason why this is interesting is because ccccff appears to be the same color as the box background inserted in ie/pc

anyone have any speculation? maybe it's just a coincidence. I tried deleting the color from one of the strings, but golive reinserted it. I guess it needs some color there, not sure if there's something I can put in its place to make the color value 'transparent'.

I'm about to apply the slight script, see if that fixes it.
p
     
   
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:30 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