Forums / Templates, Stylesheets, Page Layout / Change color of drop downs and radio buttons

Change color of drop downs and radio buttons

Locked

Started by windmill74 on 10 Mar 2009, 2:06 AM · Views: 1,970

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 Mar 2009, 2:19 AM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Change color of drop downs and radio buttons

you can not change the blue part of select field with normal CSS , you can do some styling with css , such as borders, background colors.

to truly modify those elements , you need to use javascript .
you may want to look up this site , and download and play around with javascript to get the look you want.

http://www.emblematiq.com/projects/niceforms/

10 Mar 2009, 1:16 PM
#3
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Change color of drop downs and radio buttons

Tony's right that you can't control these things with CSS, because the browser is not really providing them, the operating system is providing them. And that's a good thing, because Mac users want drop-downs that look like drop-downs always look in the Mac OS, and so do Windows users and Linux users, where the drop-downs are different looking from other systems.

So you might not want to do anything to change them. Familiarity is a good thing in a user interface. If I see a drop-down that looks like a drop-down I don't have to think about it. I just click and select. But if I see one that looks odd I have to stop and wonder if it will do what I want. It's never a good thing to stop your customers and make them think.

Rob

Breakfast: the most important donut of the day.

10 Mar 2009, 5:31 PM
#4
windmill74 avatar

windmill74

New Zenner

Join Date:
Aug 2005
Posts:
33
Plugin Contributions:
0

Re: Change color of drop downs and radio buttons

Thanks for the input. Tony, I will take a look at the java script. Rob, I can appreciate what you are saying about familiarity, however as a marketing/advertising minded person I want to control ALL the colors on my heavily branded website. Who know what I will ultimately do, but regardless I appreciate the feedback.