I have a variety of form pages in my application, all with text box elements that share the same global CSS rules like width (150px), font-family, and font-size. To streamline this, I created a global CSS type selector class for most text boxes. However, some text boxes on these forms require a different width value. How can I override the global style for these specific text boxes?
Below is the global type-selector class I created for most form text boxes:
input[type=text]{
width: 150px;
font-family: verdana,
font-size: 12px;
...
}
Any tips on how to handle this situation would be greatly appreciated.