Re: [css-d] should I worry about the warnings?

2007-10-15 Thread Jukka K. Korpela
Ross Hulford wrote:

> My CSS validates, however I get loads of warning
- -
> Generally they are "Same colors for color and background-color in two
> contexts"

That's a somewhat odd and confusing warnings. I'd suggest using the 
interface at
http://jigsaw.w3.org/css-validator/ with "More Options" clicked and 
"Warnings" set to "All". Then you get messages like

"You have no color set (or color is set to transparent) but you have set a 
background-color. Make sure that cascading of colors keeps the text 
reasonably legible."

That's somewhat tough too, but makes more sense. You need to understand the 
cascade in order to see the point.*) Or you might decide just to take the 
expert advice and follow the simple rule of always setting background, in 
the same rule, when you set color, and vice versa. This should also remove 
the warnings you have seen.

Quick intro:
Suppose a user style sheet contains
* { color: white; background: black; }
What will happen in an author style sheet contains, say,
#foobar { background-color: white; }
?


Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] should I worry about the warnings?

2007-10-15 Thread David Laakso
Ross Hulford wrote:
> Hi,
>
> My CSS validates, however I get loads of warning
>
> http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwallacewhittle.com&warning=1&profile=css21&usermedium=all
>
>
>
> Generally they are "Same colors for color and background-color in two 
> contexts"
>
>
> Should I be looking to eliminate the warnings if so how because I want the 
> text and the container div to be white?
>
>
> R. 
>
>
>   


Generally, one can ignore machine check "warnings," with the important 
caveat you have gone to the ends of earth testing your site 
cross-browser to make sure there is no issue whatsoever.

Best,

~dL




-- 
http://chelseacreekstudio.com/

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] should I worry about the warnings?

2007-10-15 Thread Ross Hulford
Hi,

My CSS validates, however I get loads of warning

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwallacewhittle.com&warning=1&profile=css21&usermedium=all



Generally they are "Same colors for color and background-color in two 
contexts"


Should I be looking to eliminate the warnings if so how because I want the 
text and the container div to be white?


R. 


__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/