Re: Question about default colors

"Błażej Ślusarek" <blazej.86@gmail.com> wrote:

>But what if webmaster set only one of the
>colors, leaving the other one undefined? There is a possibility that
>the page could be completly unreadable

A common sense issue that should be obvious. For newcomers to CSS the
"Introduction to CSS 2.1" section [1] contains: "it's a good idea to set
the text color and background color together".

IIRC the W3C CSS "validator" <http://jigsaw.w3.org/css-validator/>
issues a warning when either "color" or "background" is specified
without the other.

[1] http://www.w3.org/TR/CSS21/intro.html

-- 
Spartanicus

Received on Sunday, 22 April 2007 08:10:54 UTC