Here's my code:
When a user clicks on the Drop Down List, here are the results:
In Mozilla: The box highlights in yellow (background color) AND the option list that displays also has a yellow highlight.
In IE: The box highlights in yellow, BUT the option list does not! The option list has a white background color UNTIL the user mouses over the option -- THEN it turns yellow.
How can I get this work in IE like it does in Mozilla?
Thanks!
-Jeff
"Grace... She travels outside of Karma"
-U2
Code:
<select id="fruit" name="fruit" onfocus="this.style.backgroundColor='rgb(255,253,216)';" onblur="this.style.backgroundColor='';">
<option>apple</option>
<option>orange</option>
</select>
In Mozilla: The box highlights in yellow (background color) AND the option list that displays also has a yellow highlight.
In IE: The box highlights in yellow, BUT the option list does not! The option list has a white background color UNTIL the user mouses over the option -- THEN it turns yellow.
How can I get this work in IE like it does in Mozilla?
Thanks!
-Jeff
"Grace... She travels outside of Karma"
-U2