seansan / snh-settings

0 stars 0 forks source link

Form field validation css #17

Closed seansan closed 10 years ago

seansan commented 10 years ago

Have a look here

http://girliemac.com/blog/2011/11/28/html5-form-field-validation-with-css3/

Maybe just set the background on the INPUT BOX

and not create a seperate span with -22 px margin adjustment

Do you have a CSS specialist who you can ask quickly? (this way it also works better in different themes)

Another solution would be to create a CSS class validation-failed + create a class validation-valid in CSS file (or this file)

then on validation add the class to the input box descriptor so the right image is shown

elsner-jugal commented 10 years ago

Done.