add css style for error messages