I'm using the email_field helper function in Rails in order take emails and add them to the database. The alert boxes were provided automatically - I didn't do anything beyond running the email_field function.
My question is: Can I style this alert box using CSS or is this a Javascript thing? If it's Javascript, how would I style it?
Picture attached of alert box in question:
EDIT: The other question only deals with Rails validation errors; this alert box isn't raising any validation errors from what I can tell (since the Users model that it's attached to doesn't have any validations in place).
The only relevant code that I can see is <%= f.email_field :email %>. Some research indicates that this is part of HTML5's validating forms and the display of these things is served by the browser, but I haven't found any particular way to style them (i.e. create a uniform error display across browsers.)