Issue
I have a simple select box with an option group in my application.
<select>
<optgroup label="Swedish Cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
</optgroup>
----
----
----
</select>
When it gets displayed in browser, the option group label is displayed in bold and italic; I want it to be displayed without any of those styles.
Solution
Unfortunately select boxes are one of the few things that you can add very little style to with CSS. You are usually limited to how the browser renders it.
For example, it looks like this in chrome:
And this in Firefox:
Answered By - wesbos
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.