Using only PNG instead of GIF in your templates… maybe not!
11/14/2006

IE vs FirefoxThe PNG is a very suitable graphic format in the webdesign industry, it makes it possible as well as the GIF to manage the transparencies in 256 colors and also, its principal advantage, to manage them in true colors what makes it possible to exploit the effects of depths and to give a more qualitative look and feel to your design…

 

However in Webdesign, this advantage can be a drawback because of the lack of compatibility between the various navigators, and in particular on Internet Explorer where we are obliged to use to functions owner not always easy to set up to obtain the discounted effect.

The use of a PNG image or a 256 colors GIF image on an HTML page with a coloured background could seem identical for you?

In fact, there is a difference! The result between the 2 images proves to be identical on navigators like Firefox and Netscape but not on Internet Explorer (IE version 6.0)! The interpretation of the png on IE causes a light shift of colors between the background of the image (here a blue #AAC0EA) and the background of color defines in the HTML page.

Result in Firefox


The blue background is identical between the 2 formats

Result of same image GIF and PNG in Internet Explorer


Even if the HTML background has an identical hexadecimal code, it is slightly different.

Let us wait to see what will give this test in Internet Explorer 7…
Comments

busy