css and html5 validations fixed