Bhupinder kumar Bhupinder kumar - 1 year ago 109
CSS Question

How to give the padding for option with css only

How we can give the padding for option in select box or height ?
like this :

<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="vw">VW</option>
<option value="audi" selected>Audi</option>

Answer Source

Yes you cannot add custom style to Select input element since they are render by User agents (Browsers). You can use some plugin to render select element so that you can customize as you wish.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download