Reputation: 19967
I am using H5BP and I'm looking for a way to debug my CSS, however, W3C's CSS Validator returns errors for H5BP's normalize.css as well as main.css.
Is there something I can use to check for syntax errors that will validate normalize.css and main.css?
Also, what is the reason for not using the following line of code on normalize.css and main.css:
@charset "UTF-8";
Thanks for the help!
UPDATE:
In the end, my question comes down to biting the bullet and either separating my CSS code from the boilerplate's or deleting things I may not need. This question helped me get there:
HTML5 Boilerplate, HTML5 Reset CSS validation
Upvotes: 2
Views: 678
Reputation: 2886
A good tool that I have used in the past is CSS Lint. It is a very good validation tool, as there are different errors and warnings that you can turn off and on. There is also one for javascript, called JS Lint.
As for the charset part, if you want to know what it is used for, then this question has been answered here
Why specify @charset "UTF-8"; in your CSS file?
Hope this helps you.
Upvotes: 2
Reputation: 19967
UPDATE:
In the end, my question comes down to biting the bullet and either separating my CSS code from the boilerplate's or deleting things I may not need. This question helped me get there:
HTML5 Boilerplate, HTML5 Reset CSS validation
Upvotes: 0