W3C home > Mailing lists > Public > www-style@w3.org > April 2007

Re: Question about default colors

From: Spartanicus <mk98762@gmail.com>
Date: Sun, 22 Apr 2007 09:10:49 +0100
Message-ID: <n2m-g.t15m23hbfjogflksndops69jife4vt8840@4ax.com>
To: www-style@w3.org

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:50 GMT