[eluser]Simian Studios[/eluser]
What validation are you running on that field? Is it through CI, or through some kind of client-side JavaScript validator? Looking at your class attribute, it seems to be the latter, so you would need to check the documentation for whatever validation script you're using to see what class it gives its error messages, and then apply the CSS to that.