html - Increase gap between select menu options -


i creating drop down list in html using select tag. unable increase gap between options inside select list. below code. how can increase gap between options?

<style type="text/css">     #height {         width: 200px;     }         #height option {             width: 500px;             height:200px !important;         } </style>  <select id="height">     <option value="bugatti">bugatti</option>     <option value="lamborghini">lamborghini</option>     <option value="ferrari">ferrari</option>     <option value="levis">levis</option>     <option value="reebok">reebok</option>     <option value="nike">nike</option> </select> 

the rendering of option tags determined browser , have own peculiar way , restrictions padding , margin of option tag works in mozilla firefox while doesn't works chrome.

summary : if necessary change appearance, can use custom js plugins.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -