You are here: Re: problem with css « HTML « IT news, forums, messages
Re: problem with css

Posted by Jonathan N. Little on 03/17/07 13:07

scripts.contact@gmail.com wrote:
> On Mar 17, 5:14 am, "Thomas Müller" <tom.muelle...@t-online.de> wrote:
>> Hello,
>>
>> the following HTML works:
>> <td bgcolor="C00000">Test</td>
>>
>> the following doesn't work:
>> <td class="BG">Test</td>
>>
>> in the styles.css is BG defined:
>> .BG { bgcolor: C00000 }
>>
>
> BGCOLOR is a HTML attribute not CSS. In CSS, use-
> background-color:xxxxxx
>
>

Correction: background-color: #xxxxxx
^
Put '#' before the 'C00000'


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

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