killbill
killbill

Reputation:

Are PNG images compatible with all the browsers?

Do all modern browsers support PNG images, including Internet Explorer 6.0?

Upvotes: 5

Views: 8119

Answers (5)

Andrew Marsh
Andrew Marsh

Reputation: 2082

All modern browsers support the PNG standard completely. Only IE6 does not as it does not support png transparency, but if your users are using IE6, it might be time you told them to upgrade.

Upvotes: 0

Stuart Axon
Stuart Axon

Reputation: 1874

As people have mentioned they won't work in IE6, you can use IE7-js to get them working to a decent degree there though http://code.google.com/p/ie7-js/

It works by using some of the proprietary apis there - it also fixes lots of the other problems with ie6 dom and js.

Upvotes: 0

Lucas Jones
Lucas Jones

Reputation: 20183

IE 6.0 does not support 32-bit transparent PNGs correctly. It renders the alpha channel (transparency) as a plain gray background. (Paletted PNGs with transparency are fine in IE6.) Most other browsers work correctly, though, including IE 7.0+, Firefox, Safari, Chrome, Netscape, Opera, Epiphany, Konqueror...

The easiest solution for IE 6.0 transparency is to use GIFs instead. If this is not possible, a JavaScript and CSS solution is available at 24ways.

Upvotes: 12

This is only anecdotal but I remember that I had some issues using PNG's generated out of GIMP. Firefox and Safari rendered them differently.

I'm remembering now. One of the issues I came across was the difference between PNG colors and CSS colors in Safari.

Upvotes: 0

drdaeman
drdaeman

Reputation: 11471

Yes, they do. With the exception that older IEs cannot handle 24-bit transparent PNGs without some special hacks.

Upvotes: 2

Related Questions