optgroup class gets applied to all sub-options in FF, why?
Posted
by Camran
on Stack Overflow
See other posts from Stack Overflow
or by Camran
Published on 2010-05-17T14:57:31Z
Indexed on
2010/05/17
15:00 UTC
Read the original article
Hit count: 144
I have an optgroup like this:
<optgroup label="Eller välj Län" title="Eller välj Län" style="background-color:#FC9;">
<option value="Blekinge Län">Blekinge</option>
<option value="Dalarna Län">Dalarna</option>
<option value="Gotlands Län">Gotland</option>
</optgroup>
Problem is, only in Firefox, the class applies to all options inside the optgroup. I need it to apply only to the optgroup label...
Any ideas why?
Thanks
© Stack Overflow or respective owner