I want to keep fixed width select box and option text.
I want to do this because my select boxes option texts are big.
Can you please suggest a workaround ?
I want to keep fixed width select box and option text.
I want to do this because my select boxes option texts are big.
Can you please suggest a workaround ?
Hi,
You can set the width of the select quite easily by just using select {width:200px} but most browsers don’t allow a width on the option (apart form Firefox).
select{width:200px}
option:{width:170px}
It’s one of those elements that you have little control over.