Your code should be well-formed. This is no validator which points out errors in your CSS code. To make sure that your code is valid, use the W3C Validator.
Well, this is not a online tool. But it is an uzful freeware soft to help you design css-based lists and tabs visually and without any programming knowledge required.