Is there a way to adjust the width of an option box separately from the select width?
Here's what I've tried:
$('option').css({'width': 100});
The select element needs to have a width of 400px;
select{
width:400px;
}
Link to example: http://jsfiddle.net/7k8He/1/
I want the text in the options to be shorter, but not the option box itself. Is it possible to achieve this dynamically?
Thank you in advance!