run it through the w3c's validation. and code it in firefox:] it'll make it a lot less stressful when you run into the "omg, w3c says it's wrong, but it looks right!" errors.