You are here: Re: Tranparency « HTML « IT news, forums, messages
Re: Tranparency

Posted by dorayme on 12/16/05 01:39

> From: "NEWS" <antispam@nospam.com>

> Is there any way to make the background of an image be transparent in a jpg?
> I have been trying to do this all day and no matter what I do it shows on my
> page as white.
>
> If I cannot use a jpg which file type can I use?
>
>
If you want to use a jpg, I often do, make the background of the
jpg itself the same colour as the body of the html (or vice
versa of course). Depends on the pic, how successful you are. If
you make it up say from a psd in layers, then just ensure the
bottom bg layer is a colour you want the body to be too...
before flattening and jpging... This is "fake transparency"

The white that is showing is - apart from other things -
because you have not prepared the bg to the pic, it defaults to
white. There is no real transparency in jpg...

GIF is a format to use for transparency (also PNG but there are
conditions...)

--
dorayme

 

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

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