Reputation: 1132
I want to use a good old form element on my page. But I don't like the styling of it, how can I change it, is there quick way to do this in CSS, searched a lot, did'nt find a good answer, or do I need a jQuery plugin (which one?) ?
Thanks, Jakob
Upvotes: 0
Views: 152
Reputation: 5326
Why not css ??
select{
color: gray; border: 1px solid blue; /*... other styling*/
}
Upvotes: 0
Reputation: 2120
I dont think you can style a select element. it won't work cross-browser. The only way is to use JS to style it how you want it to look and then have it degrade gracefully without JS on. Note i have not tried using js/jquery to controlthe appearance of a select list - have no idea how well it will degrade in downlevel browsers.
See this SO post and this site
Upvotes: 1
Reputation: 3005
It can all be done via CSS.
After a quick google search here is a resource with loads of examples in!
http://www.noupe.com/css/form-elements-40-cssjs-styling-and-functionality-techniques.html
Upvotes: 0
Reputation: 21292
Take a look at this: http://www.noupe.com/css/form-elements-40-cssjs-styling-and-functionality-techniques.html
Upvotes: 0
Reputation: 337733
This really isn't the type of question SO was created for.
Even so, I'm a helpful type: http://www.tripwiremagazine.com/2011/06/jquery-forms-plugins.html
Upvotes: 0