You are here: Re: Add a background image to a div « HTML « IT news, forums, messages
Re: Add a background image to a div

Posted by Jonathan N. Little on 11/04/07 03:01

William Hughes wrote:

> Instead of 'background-image', try just 'background':
>
> .marines {color: #660000; background: #acb78e
> url(bg-marines.gif); border-color: #ff0033}
>
> translation: dark rust red, swamp green/digital camouflage, medium red

'background' is just a shortcut for all the properties
'background-color' + 'background-image' + 'background-position' ...

but that is not what his problem is here.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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