...

View Full Version : changing color of selections in dropdown



hedbanger
07-09-2002, 12:40 AM
i've used styles to change the colors of the text and background in a dropdown with multiple selections.
when the selections are made, they change to the user's default windows defalult "selected" color. how do i customize the color of the selected options?
thanks.

<select name="dropmenu" size="6" multiple class="tablecells">
<option style="COLOR: #00000;background-color: #EBCDA9">[DIVISION 1]</option>
<option style="background-color: #F0DABF">[GROUP 1/1]</option>
<option style="background-color: #F0DABF">[GROUP 1/2</option>
<option style="background-color: #F5E8D8">[FAMILY
1/1]</option>
<option style="COLOR: #00000;background-color: #EBCDA9">[DIVISION 2]</option>
<option style="background-color: #F0DABF">[GROUP 2/1]</option>
<option style="background-color: #F5E8D8">[FAMILY
2/1]</option>
<option style="background-color: #F5E8D8">[FAMILY
2/2]</option>
</select>

Gordo
07-09-2002, 02:10 AM
Sorry, but you can't change the highlight color of select boxes.

hedbanger
07-09-2002, 02:14 AM
damn! absolutely no way? such a simple-sounding thing. i thought some sort of a onSelect thingie would be the thing!

btw, my sig is a steven wright quote too!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum