html - Keep drop down list scrollbar a fixed height -



html - Keep drop down list scrollbar a fixed height -

i have 3 drop downwards lists varying amounts of items in them. possible maintain scrollable height fixed? e.g if have 3 items in 1 list , 8 items in list, when click on either list drop downwards part stays same height. @ moment drop downwards area of list 8 items much larger obviously.

<select id="picdd1" > <option value="0">new leaf green</option> <option value="1">air forcefulness blue</option> <option value="2">grecian purple</option> <option value="3">antique gold</option> <option value="4">deep coral red</option> <option value="5">yellow</option> <option value="6">pink</option> <option value="7">grey</option> <option value="8">white</option> </select> <select id="picdd2"> <option value="0">light weight aluminium</option> <option value="1">high-tech carbon fiber</option> </select> <select id="picdd7"> <option value="0">basket</option> <option value="1">tail light</option> <option value="2">bell</option> <option value="3">heavy duty lock</option> </select>

try :

<select id="picdd1" onmouseover="this.size = 3" onmouseout="this.size = 1">

got here show options in in html drop downwards list

html css

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -