Web Analytics Made Easy -
StatCounter changing color of selections in dropdown - CodingForum

Announcement

Collapse
No announcement yet.

changing color of selections in dropdown

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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
    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)

    Comment


    • #3
      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.

      Comment

      Working...
      X