Haines Brown wrote:
A minor issue. When I try to validate a CSS line, I get an error.
The line inside the style for a div is
background-color: #FFFBF0;
The warning (jigsaw.w3.org) is:
Line : 54 (Level : 1) You have no color with your background-color
: #inside
What's up?
Literally: you haven't set a colour (for the text) to accompany that
background colour. The validator just gives you a warning, to make
sure you didn't do that by accident. What if you set the background
colour to black, and forgot to change the default black colour for the
text to something more visible against a black background? Rule of
thumb: Always set the colours (background and text) in sets, so you
know for sure there is enough contrast between them.
--
Els
http://locusmeus.com/
accessible web design:
http://locusoptimus.com/