http://jigsaw.w3.org/css-validator/...rofile=css21&usermedium=all&warning=1&lang=en The errors I am getting, "Same colors for color and background-color in two contexts #body and #head a", are saying that my colors are the same in 2 different objects? Am I not allowed to use the same color twice? I'm normally good with this stuff but this one is stumping me, thanks to any tips!
Ignore those things. W3 went mad and said that for every declaration of color, a declaration of background-color is required (and vice versa). They don't make your site CSS invalid.
but i would not like any warnings either so i need to add background-color or just background: #color; whereever i have color defined?
Seriously, just screw it. Backwards. Twice. CSS validity, unlike HTML validity is almost pointless, since you have to hack for any browser these days.
That's a warning, not an error. It's simply saying that you have created an opportunity for chaos. Background colors are inherited. If, for example, your css looks something like this: body { color: black; background-color: white; } a { background-image: url(some.png); color: white; } Code (markup): If the bg image is not displayed for whatever reason, you have white text on a white background. You don't have to use both color and background-color each time. The warning is to remind you to double check against the possibility of issues due to inheritance. Trust me, I have been asked to fix many sites that had "disappearing" text due to this. cheers, gary