Styles (or skins) and DropDownLists

N

Neil

Is it possible to apply a style to a DropDownList?

In order that all my controls have a consistent look and feel I have
been using classes in a style sheet. Try as hard as I might I cannot
get a border color change applied by the style. The relevant section of
the stylesheet is below:

..DataEntryDropdown
{
color:Black;
height:auto;
font-family:Verdana;
font-size:small;
font-style:normal ;
border-color: #B5C7DE ;
border-style: solid ;
border-width:thin ;
}

Am I trying to achieve the impossible?

As I can't get this to work with a stylesheet does anyone know if it'll
work with a skin?
 
B

Bruce Barker

you are trying the impossible. the html <select> border attributes apply to
a border around the control, the the dropdowns own border.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top