Friday, April 15, 2011

W3 CSS3 validation

I was fiddling around with some text-shadow stuff (which is part of the CSS3 draft) on the gdb tutorial.  When I validated the CSS at W3C, I noticed that the validator, by default, chooses CSS level 2.1 instead of CSS level 3.  You can manually select CSS3 in the drop down menu here, but I want to be able to click on the link from each of my pages.  After all, the reason I have the valid HTML5 and CSS images on every page is to have a handy way to validate each one quickly and easily.  Anyway, the fix is pretty simple, which I found in this post.  Change the link for the CSS validator to this:

http://jigsaw.w3.org/css-validator/check/referer?profile=css3

The part you need to add is in red.

No comments:

Post a Comment