PDA

View Full Version : PNG images in IE


Aadil
03-22-2009, 04:29 AM
My site looks very nice and neat on Firefox and other browsers but on IE it looks REALLY BAD!

is there a way to make pngs and gifs transparent on IE?

veenuisthebest
03-22-2009, 04:31 AM
Use Method 2:
http://homepage.ntlworld.com/bobosola/pnghowto.htm

Aadil
03-22-2009, 04:42 AM
so i must go thru all templates??

veenuisthebest
03-22-2009, 04:46 AM
Didn't you read it ?????????

SImply upload the pngfix.js in your clientscript/ folder and add the below code in headinclude template

<!--[if lt IE 7.]>
<script defer type="text/javascript" src="clientscript/pngfix.js"></script>
<![endif]-->

Aadil
03-22-2009, 04:47 AM
my bad misread :P

edit: added it at the top.. and then i went onto my site its same.. but i have IE 6

RLShare
03-22-2009, 05:02 AM
That should work with IE 6

TigerC10
03-22-2009, 05:30 AM
I think this one is better:
http://www.twinhelix.com/css/iepngfix/

Aadil
03-22-2009, 05:44 AM
wat do i do with the download sorry :P

TigerC10
03-22-2009, 05:54 AM
There's a "how to" on the demo of the page:
http://www.twinhelix.com/css/iepngfix/demo/


Follow the instructions there and you'll be up and running correctly in no time.

Aadil
03-22-2009, 06:00 AM
thanks

UKBusinessLive
03-22-2009, 08:03 AM
my bad misread :P

edit: added it at the top.. and then i went onto my site its same.. but i have IE 6

I think you'll want to upgrade your IE to 7 at least, Alot of people are now withdrawing support for IE6, with all the security issues and the such.

The upgrade is free ;)

Aadil
03-23-2009, 06:44 AM
anyone know how to fix Gifs?

TigerC10
03-23-2009, 11:42 PM
How can GIFs be "fixed"?? They always display properly in Internet Explorer/Firefox/Opera/Safari...

The reasons PNGs have problems is because they have something called "alpha transparency". The alpha transparency lets you define how transparent a colored pixel is, whereas with GIFs it's either a transparent pixel or a colored pixel.

Now if your image is corrupted, you'll have to find a way to fix the image. Photoshop can do that nicely, if you "Save for web and devices" instead of "Save as".

bokmade
03-24-2009, 05:30 AM
I think you'll want to upgrade your IE to 7 at least, Alot of people are now withdrawing support for IE6, with all the security issues and the such.

The upgrade is free ;)

Internet Explorer 8 ..

http://www.microsoft.com/windows/internet-explorer/default.aspx

Aadil
03-24-2009, 05:42 AM
Can anyone tell me if the images are stuffed up on my site who ever has IE 7 or 8?

http://wrestlingbay.com

TigerC10
03-24-2009, 05:46 AM
Can anyone tell me if the images are stuffed up on my site who ever has IE 7 or 8?

I looked at it in IE7, and it looks fine to me. What do you mean by "stuffed up"?

Aadil
03-24-2009, 06:02 AM
http://www.wrestlingbay.com/images/styles/earth/statusicon/forum_old.gif had white around em in my IE 6 and also the http://www.wrestlingbay.com/images/styles/earth/statusicon/forum_new.gif

TigerC10
03-24-2009, 06:12 AM
Nope. They look fine in IE7. Although I found an older machine and ran IE6. Although I found the problem not to be with the GIFs themselves, it was the colors visible on the screen. I suppose if your machine doesn't auto-update to IE7, then you probably have your graphics card on a lower setting than true color.