You are here: Re: Why does IE put a gray background on my image? « HTML « IT news, forums, messages
Re: Why does IE put a gray background on my image?

Posted by Neredbojias on 02/05/06 21:19

With neither quill nor qualm, Toby Inkster quothed:

> Neredbojias wrote:
>
> > It's because it's a png. IE doesn't do png transparencies well. Try a
> > gif.
>
> And with a little creativity, you could serve up a transparent GIF to any
> browsers with "MSIE" in their user-agent string, and a PNG to everyone
> else.
>
> Alternatively, there are a few tricks to get IE to handle alpha-blended
> PNGs. They don't make for pretty coding, but can give you pretty pages.

Quite true, although I think AJF has a bit of a point. Anyway, alpha
pings confuse me so I prefer the simplicity of a gif (with, sadly, its
256 color limit) when dealing with web transparencies.

--
Neredbojias
Contrary to popular belief, it is believable.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация