Search code examples
asp.netcssdrop-down-menu

Cool Styling for dropdown list in asp.net?


I wonder if we can give the default dropdownlist a cool and classy look using css/styling. I do not want to use jquery/jscript as I am not familiar with these. Can it be done using css/html styling ?

I want it to look something like this : 

enter image description here

or

enter image description here


Solution

  • Sure you can.

    I recommend checking out http://bavotasan.com/2011/style-select-box-using-only-css/

    It's really just a mix of your standard commands: height, width, background, color, border. All put together to make it prettier. I'm not sure about offsetting it like in your example 2, but example 1 is easy.