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
Solved

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

Posted on 2012-03-16
7
776 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
  • 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

828 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