Solved

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

Posted on 2012-03-16
7
779 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

617 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