I need a little help understanding this error.

All css validates except this part.
"css error = Unknown pseudo-element or pseudo-class :required"


I have this html in a table for a contact form and all html validates.
<input type="text" placeholder="First Name" name="first" maxlength="40" required="required" />

In the css I have this
input:required, textarea:required{add styles}

From all the information I have been able to find (which is mostly a couple of years old) what I have in the css is the correct way of doing this. So either my information is wrong or I have misunderstood it.

TIA
Mike

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to