How can I check the css code for errors?
You can use some special programs or the CSS Validation Service at http://jigsaw.w3.org/css-validator/. If your code is correct, you can place an icon to your web that says to your visitors that your respect the standard.