Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder hedbanger's Avatar
    Join Date
    Jun 2002
    Location
    vallejo, ca
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    changing color of selections in dropdown

    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>
    jf~ if you're not part of the solution, you're part of the precipitate.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    TEXAS . . . 'nuf said
    Posts
    468
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry, but you can't change the highlight color of select boxes.
    Gordo
    "In the End, we will remember not the words of our enemies, but the silence of our friends."
    - Martin Luther King Jr. (1929-1968)

  • #3
    New Coder hedbanger's Avatar
    Join Date
    Jun 2002
    Location
    vallejo, ca
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!
    jf~ if you're not part of the solution, you're part of the precipitate.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •