|
Posted by Hendrik Maryns on 09/22/06 10:06
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andy Dingley schreef:
> Hendrik Maryns wrote:
>
>> The validation of my style sheet can be found here:
>
> http://jigsaw.w3.org/css-validator/validator?uri=tcl.sfs.uni-tuebingen.de%2F%7Ehendrik%2Fstyle%2Fstyle.css
>
>> I do not understand the warning: you will see that I did give a color
>> for background in div.contentsBox (taken over from Wikipedia, btw).
>
> * You have no color with your background-color : div.contentsBox
>
> * div.contentsBox {
> [...]
> o background-color : #f9f9f9;
> }
>
> You nave no _color_ (foreground color) with your background color.
> What would happen if the user already had a default color of #f9f9f9 ?
> -- your new background would make the text disappear against it.
>
> In general, always set both colours together, using readable
> combinations.
>
> The W3C validator is a bit obsessed with this warning, which can be
> safely ignored so long as you are setting both colours somewhere
> reliable, then just changing one for small "highlights" within this.
I see, thanks. IOW, I can safely ignore it here. Hm, or not: I didn’t
explicitly define link colors...
H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFFE7XCe+7xMGD3itQRAiseAJ9MydioqYWDv6GjwRR7343GTZaF7gCfcbyb
M9x76Eo/meXiuek/PlZy5yU=
=I12b
-----END PGP SIGNATURE-----
[Back to original message]
|