Select element

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Is it possible to assign a different color in a select multiple?

<select multiple>
    <option>Here I would like red</option>
    <option>Here I would like different color</option>

Any help much appreciated.


-Mandrake  "A Poma', c'hai 'na faccia...!"
-Pomata    "Sì, se ce n'avevo due già stavo all'università... sotto

Re: Select element

"Fabri" wrote:

Quoted text here. Click to load it

Not reliably, no. The following might work in a few browsers:

  <STYLE type="text/css">
  .red  { color: #f00; }
  .blue { color: #00f; }
  <select multiple>
  <option class="red">Here I would like red</option>
  <option class="blue">Here I would like different color</option>

phil [dot] ronan @ virgin [dot] net /

Site Timeline