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 17:14

William Hughes wrote:
> On Sat, 03 Nov 2007 23:01:37 -0400, in alt.html "Jonathan N. Little"
> <lws4art@centralva.net> wrote:
>
>> 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' ...
>
> Exactly. My point was that it might be too specific.
>
>> but that is not what his problem is here.
>
> If you say so... :)

It wasn't. If you are specifying a background image and it doesn't
display just changing the property from 'background-image' to
'background' will *not* solve the problem. So, no your suggestion wan
not a possible solution for the OP.

--
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

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