Closed seansan closed 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
Done.
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