Fixed css declaration and html for error message