« Return to the main article
In CSS Level 2 Specification you can. The following would be legal:
input [type="text"] { color:red; }
Whilst we wait for any of the browsers to even start to support level 2 we are stuck with having to apply styles individually to elements.
Best bet is to create a style as below:
.textInputs{ color:red; }
and apply this class to the HTML Attrributes of each of the text <input> elements in turn....
Jake -CodeStore
In CSS Level 2 Specification you can. The following would be legal:
input [type="text"] { color:red; }
Whilst we wait for any of the browsers to even start to support level 2 we are stuck with having to apply styles individually to elements.
Best bet is to create a style as below:
.textInputs{ color:red; }
and apply this class to the HTML Attrributes of each of the text <input> elements in turn....
Jake -CodeStore