Are PNGs relatively IE safe as background images?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Don Chambers
Regular
Posts: 3659
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Are PNGs relatively IE safe as background images?

Post by Don Chambers »

Transparent PNGS will, at some point in the future, no longer be a problem in web design thanks to the release of IE7. However, there are millions of people still using <ie7.

I have personally experienced a lot of problems using transparent PNGS as foreground images... but it occurs to me, that this has never been a problem when they were background images.

I'm working up a new template. So far, I am sticking with either GIFs or JPGs.

Is it reasonable safe to make all BACKGROUND images PNGs, or am I better off sticking with GIFs & JPGS (no transparancy on jpg)???
=Don=
Don Chambers
Regular
Posts: 3659
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Anyone?
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I'd not use transparent PNGs for any mainstream theme that IE6 users might still use, for as long as IE8 is not out. :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3659
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Thanks Garvin. I was hoping background images were safe. Thought I recalled something about foreground PNGs being the most trouble when they lacked dimensions, and dimensions are not usually given for background images. Back to GIFs or JPGs I guess!!
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You might remember this from the "browsercompatibility" plugin! This one creates trouble with transparent PNGs without dimensions, because it doesn'T properly scale/rescale it. I don't even know if the browsercompatibility plugin can deal with transparent background images, since it only listens on all <img> tags of a page...

Regards
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
SenorKaffee
Posts: 3
Joined: Wed Nov 08, 2006 3:34 pm

Post by SenorKaffee »

PNGs are always a little tricky. Not because of the transparency, I had more problems with the gamma correction data that can be saved in them. Let´s say that the interpretation of this data can have some... interesting effects. o_O
Post Reply