Reputation: 1347
I used 'for' attribute in label tag in HTML but using that made my lable look grey rather than default black help me to make this black uniformly without using any inline style or giving any special class attribute in each label.
Upvotes: 0
Views: 30062
Reputation: 362
You could just change the style all labels.
label {
color: #000; /* makes the text-black */
}
of you can make it more specific...
#form-id-here label {
color:#000;
}
That way you can change the labels for a certain form only.
Upvotes: 2