Link to home
Start Free TrialLog in
Avatar of xav056
xav056

asked on

how to style dropdown combo (set border color and dropdown arrow color)

Hello
I would like a way to customize a drop down menu and have it appear like the attached photo
I am using asp.net


Thank youUser generated image
Avatar of Gregg
Gregg
Flag of United States of America image

Please take a look at:
http://www.456bereastreet.com/lab/form_controls/select/
http://www.456bereastreet.com/archive/200410/styling_even_more_form_controls/
http://www.456bereastreet.com/lab/styling-form-controls-revisited/select-single/

Styling is controlled by browser (if i recall correctly). You might use a jquery plugin if you want to change.

Hope this helps.
The look and functionality of the select and most other controls is defined by the operating system, with only limited access from the browser using CSS.  You will not get it to look the same cross browser, an the image you present does not look like it will work at all in most browsers.

You may have to use images to get what you want with a bunch of javascript to interface the functionality; and it will probably have cross-browser issues no matter what you do.


Cd&
Avatar of xav056
xav056

ASKER

I am only interested in having it work for IE at this point
Well for IE you will probably need at least three version, and it is the least likely browser to give you the results you want.

I would start with the links posted by gregg_s and experiment; do some trial and error; curse a little, and then settle on something doable, or use an image.

Cd&
experiment; do some trial and error; curse a little, and then settle on something doable, or use an image
Statement should be a precursor to guaranteed frustrations that come with task. Consider accepting the combobox as is. And focus on other aspects of project.
ASKER CERTIFIED SOLUTION
Avatar of xav056
xav056

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xav056

ASKER

none of the suggestions aimed at providing the solution I am looking for.
The solution was basically use an image style as in the attachment and lay it over the srop down