fixed validation errors

fixed validation errors and added css to the document.