I put some css through the w3 validator (I know it’s kind of pointless since it balks at css3) but I found a couple things that I was trying to fix that could have been wrong.
This was one of the errors that it found, but I don’t see anything wrong with it. Maybe you guys can see something I don’t.
The error that it’s giving is…
Value Error : font / is not a font-family value : bold 3.7em / 0.82 Impact,Charcoal,sans-serif
The code is…
font:bold 3.7em/0.82 Impact, Charcoal, sans-serif;
JJ
I
thinkam fairly sure this must be a bug in the validator (you’re not the only one with the problem) since I pulled one of the examples off from the official specifications on this, and it got the same error.I validated this:
And got this:
Sources:
The jigsaw css validator is not perfect. It’s software, so it contains bugs. Best thing to do in these cases is to inspect the specifications on the subject and try to validate sample code and if it does validate in that case, try and see how it is different from your own.