39
rated 0 times
[
41]
[
2]
/ answers: 1 / hits: 192093
/ 15 Years ago, mon, march 8, 2010, 12:00:00
Is there a style for a select option's selected color? For example:
<HTML>
<BODY>
<FORM NAME=form1>
<SELECT NAME=mySelect SIZE=7 style=background-color:red;>
<OPTION>Test 1
<OPTION>Test 2
<OPTION>Test 3
<OPTION>Test 4
<OPTION>Test 5
<OPTION>Test 6
<OPTION>Test 7
</SELECT>
</FORM>
</BODY>
</HTML>
When I select an option it turns blue, I want to override this and
make it a different color. In the style I expected something like
selected-color, but it doesn't exist.
More From » html