Topic: Drop down - background color - Mac safari - not working

hi i have a very simple drop down html page. when i look at the page in windows machine with all browsers, i am able to view the pink color background. in mac machine, when i am able to view the color in firefox but the color cannot be viewed in safari. what could be the reason.

I have attached the html sample here

<FORM ACTION="" METHOD=POST onSubmit="return dropdown(this.gourl)">
<SELECT NAME="gourl" style="background-color: DeepPink;">
<OPTION VALUE="">Numbers
<OPTION VALUE="">One
<OPTION VALUE="">Two
<OPTION VALUE="">Three
</SELECT>
<INPUT TYPE=SUBMIT VALUE="Go">
</FORM>

Vote up Vote down

Re: Drop down - background color - Mac safari - not working

Not sure if this the solution but it's good practice to use hex code for your colors instead of color name.

DeepPink = #FF1493

Name to Hex Color Codes

Last edited by newseed (March 6, 2009 9:39 am)

Imagine Building and Managing an Online Business
The Kasper Group

Vote up Vote down

Re: Drop down - background color - Mac safari - not working

tried, still not working

Vote up Vote down

Re: Drop down - background color - Mac safari - not working

Sad to say, but you can't change the colours of form elements in some browsers. I've encountered this problem in Opera.

Vote up Vote down