I have this defined in an existing CSS sheet that I'm working with:
label.error-field
To assign this to an html element do I simply do class="error-field" or do I add the label to have it be class="label.error-field"?
This will only work on labels.
<label class="error-field">I'm an error label, yo ho ho</label>
The label. part is a CSS type (element) selector with a class (.) selector.