Tuesday, October 3, 2006

This one had me baffled.

Trying to validate a CSS file I’m working on and constantly ran across the WARNING :

“Line : … (Level : 1) You have no color with your background-color : ….”

but, but, but… I DID have a background-color defined so what’s up?

And even though I read through a ton of Google found search results and other people battling the same issue, it did not get clearer, and had me baffled for several hours until finally the coin dropped - it’s the wording of the error which had led me astray.

I understood the error to mean “you don’t have one but you need to assign a background-color to this tag” - but NO - it’s just the opposite, it’s flagging the fact that you DO have a background-color defined but NO (front) COLOR.

The CSS is missing something like : {color: #000000;}.

So, did the coin drop now also for you?

Technorati Tags: , ,

No Comments yet »

Leave a comment

authimage

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Subscribe without commenting