?
Solved

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

Posted on 2012-03-16
7
Medium Priority
?
780 Views
Last Modified: 2012-04-12
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
Comment
Question by:xav056
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 10

Expert Comment

by:Gregg
ID: 37729127
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
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 37730246
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
 
LVL 9

Author Comment

by:xav056
ID: 37730359
I am only interested in having it work for IE at this point
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 37730585
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
 
LVL 10

Expert Comment

by:Gregg
ID: 37730934
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
 
LVL 9

Accepted Solution

by:
xav056 earned 0 total points
ID: 37819477
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
 
LVL 9

Author Closing Comment

by:xav056
ID: 37836624
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question