Old 26-01-2008, 04:47   #1 (permalink)
hollywooood
I know nothing!
 
hollywooood's Avatar
 
Join Date: Jan 2008
Location: Bali, Indonesia
Posts: 99
PNG's and Explorer

I have been racking the noggen on how to get my PNGs to show up correctly in IE. I tried to convert the image as a gif but it gets distorted and will show white edges. What am I gonna do?
 
Old 26-01-2008, 08:53   #2 (permalink)
Sergey.Hilobok
Registered User
 
Sergey.Hilobok's Avatar
 
Join Date: Jan 2008
Posts: 14
Send a message via ICQ to Sergey.Hilobok
save in the png and make a empty gif file (1x1 px)

html:
<img src="empty.gif" id="you_id" width="102" height="48" alt="">

css:
#you_id {
background: url(you_png_file.png);
// background: none;
// filter: progidXImageTransform.Microsoft.AlphaImageLoader (src='you_png_file.png');
}
 
Old 26-01-2008, 09:40   #3 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
 
Old 26-01-2008, 18:24   #4 (permalink)
Clever Mind
design with a purpose
 
Clever Mind's Avatar
 
Join Date: Jan 2008
Location: San Diego, Ca
Posts: 37
The first link on the google search has the png fix.js that one that works for me.
 
Old 26-01-2008, 19:14   #5 (permalink)
hollywooood
I know nothing!
 
hollywooood's Avatar
 
Join Date: Jan 2008
Location: Bali, Indonesia
Posts: 99
Thanks for the feedback...
 
Old 26-01-2008, 22:38   #6 (permalink)
hollywooood
I know nothing!
 
hollywooood's Avatar
 
Join Date: Jan 2008
Location: Bali, Indonesia
Posts: 99
Quick question on this PNG Javascript....

Just would like to make sure I am clear on how I do this. I view source the solution page, copy and paste the javascript from <!--[if 1t IE 7]> to <![endif]-->, is there anything else I will need to add in my img tag to let the script know it needs to do something?
 
Old 27-01-2008, 11:58   #7 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
One thread is all you need.

anyone with a hack for.....
 
Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8