Reply to Re: Add a background image to a div

Your name:

Reply:


Posted by William Hughes on 11/04/07 02:55

On Sun, 04 Nov 2007 01:46:29 -0000, in alt.html Cristian
<crisjunc@gmail.com> wrote:

>Now, my question is, Why the external css did not work, but the
>internal did? they do the same.
>
>EXTERNAL
>
>div#logo {
> background-image: url('dat/img/corners.jpg') red;
>}
>
>INTERNAL
>
><style type="text/css">
>div#logo
>{
>background-image:
>url('dat/img/corners.jpg');
>
>}
></style>

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
--
William Hughes, San Antonio, Texas: cvproj@grandecom.net
The Carrier Project: http://home.grandecom.net/~cvproj/carrier.htm
Support Project Valour-IT: http://soldiersangels.org/valour/index.html

[Back to original 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

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