Styling to register error messages