Cleans up styling for error and notice form elements.