Logo Questions Linux Laravel Mysql Ubuntu Git 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

like image 623
Hitesh Gawhade Avatar asked Jul 30 '12 13:07

Hitesh Gawhade


1 Answers

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.

like image 78
Devin Hurd Avatar answered Oct 21 '22 03:10

Devin Hurd