I'm trying to make a select box where each of 3 elements shows up as a
different color. I've gotten it working on the PC, but seem to be
having some troubles with the Mac/IE combo.
Apparently Mac users don't see the background color(s) when they
open the select box tab.
I've tried a couple different ways, but haven't managed to make it
work (though I believe on Mac/Netscape it works). Some code below...I
tried both using classes and setting the style directly on the option
elements.
If someone can show/explain how to make a mac/IE (5.2) combo show
background color(s), or point me at a site wher it works that'd be
great.
Thanks a lot,
-James
================================================== =============
<style type="text/css">
..selectStyleNeutral {
background-color: white;
}
..selectStyleRed {
background-color: red;
}
..selectStyleBlue {
background-color: Blue;
}
</style>
<select name="foo2">
<option value="" class="selectStyleNeutral"> </option>
<option value="1" class="selectStyleBlue"> </option>
<option value="2" class="selectStyleRed"> </option>
</select>