Reply to Re: Background in css gives warning

Your name:

Reply:


Posted by Neredbojias on 02/24/06 07:07

With neither quill nor qualm, Adario quothed:

> When I use the following:
>
> body {background: #d4ecfb;}
>
> The validator says:
>
> Warnings
> URI : file://localhost/main.css
>
> * Line : 1 (Level : 1) You have no color with your background-color :
> body
>
> It works but gives the warning. Any ideas?

If you specify a color without a background-color or vice versa on any
element, the validator will give a warning. In some cases it's
ridiculous (-not all,) but the validator is the validator...

--
Neredbojias
Contrary to popular belief, it is believable.

[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

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