Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 782
  • Last Modified:

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 youdesired output
0
xav056
Asked:
xav056
  • 3
  • 2
  • 2
1 Solution
 
GreggCommented:
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.
0
 
COBOLdinosaurCommented:
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&
0
 
xav056Author Commented:
I am only interested in having it work for IE at this point
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
COBOLdinosaurCommented:
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&
0
 
GreggCommented:
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.
0
 
xav056Author Commented:
Thanks for the ideas however none was able to do what I wanted
I managed to achive the above look by using an image and laying it over the dropdown with an opacity of 0
that seemed to do the trick
0
 
xav056Author Commented:
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
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now