I have a code like this:
<select>
<option style='background-color:red'>something
</select>
background-color works OK in IE by doesn't have any effect in NetScape 7. How can I solve it?Have you tried closing the tag?If you put the background-color onto the select instead of the option, it will provide a style, though for all the options, rather than just one line.
This behaviour of style on select seems to be an IE only thing.
Asino.
<select>
<option style='background-color:red'>something
</select>
background-color works OK in IE by doesn't have any effect in NetScape 7. How can I solve it?Have you tried closing the tag?If you put the background-color onto the select instead of the option, it will provide a style, though for all the options, rather than just one line.
This behaviour of style on select seems to be an IE only thing.
Asino.