Question : Dropdown box background-color not working only on Safari on MAC

Simple html dropdown list with the following code.  I don't have a Mac OS X and it works fine in my Windows Safari, along with Firefox, IE, Chrome.  So I can't even reproduce the problem but the boss says to fix it.  Any suggestions??  I'm not finding any solutions with google.

Should give you a drop down list where each option SHOWS the color you can select in its background.  And then when you select one, the box turns that color and closes.  The selection part works on Mac Safari, but the dropdown doesn't show the choices in color only on Safari MAC.  Check it in IE, Firefox, etc and it works great.
THANKS!!
---------------------------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
</head>
<body>
<script type="text/javascript" language="javascript">
    function onColorChange(obj) {
        obj.style.background = obj.options[obj.selectedIndex].value;
    }
</script>
Select Highlight Color:<br/>
    <select runat="server" id="MyBSTHighlightColorList2" style="background-color: #b4e6ff; width:240px; height:20px;" onchange="onColorChange(this);">
        <option value="#ffb4b4" style="background-color: #ffb4b4;">#ffb4b4</option>
        <option value="#ffcc80" style="background-color: #ffcc80;">#ffcc80</option>
        <option value="#ffff80" style="background-color: #ffff80;">#ffff80</option>
        <option value="#ccff80" style="background-color: #ccff80;">#ccff80</option>
        <option selected="selected" value="#b4e6ff" style="background-color: #b4e6ff;">#b4e6ff</option>
    </select>
</body>
</html>

Answer : Dropdown box background-color not working only on Safari on MAC

Browsers only support a limited number of CSS properties on form controls, especially on <select> elements and their children. Which properties and how many are supported varies from browser to browser.

http://www.456bereastreet.com/archive/200705/why_styling_form_controls_with_css_is_problematic/
http://www.456bereastreet.com/archive/200701/styling_form_controls_with_css_revisited/
Random Solutions  
 
programming4us programming4us