문제

Are there any other CSS validation sites out there besides jigsaw?

It’s saying that content: none; is incorrect, but according to the specs it should be fine.

도움이 되었습니까?

해결책

The best online css validator that I have found is http://www.w3schools.com/site/site_validate.asp

There are also good browser plug-ins that you can use to validate your css. I recently wrote a blog post with details and links to both online and browser validators - you can go to my blog and read the post ("Validating Your Web Pages for SEO and Useability - Why You Should Do It and How") if you want more information.

Let me know if you have questions!

다른 팁

I just tried validating

a:after{content:none}

and it says its valid.

It's not validation per se (Firefox doesn't implement all of CSS 2.1), but Firebug's console tab can show CSS errors. Very handy for developing.

alt text

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top