I need my select in IE 10/11 to show horizontal scroll in case it has long titled item and vertical if it has more items then usual.
I tried div with overflow-x:auto; but vertical scroll on select hides under this div and requires horizontal scrolling.
Find running reference code here.
HTML is:
<div style="width:140px; overflow-x:auto;">
<select name="selectbox" size="5" id="selectbox" >
<option>one two three four five six seven eight</option>
<option>seven eight</option>
<option>nine ten</option>
<option>one two three four five six</option>
<option>seven eight</option>
<option>nine ten</option>
<option>one two three four five six seven eight nine ten</option>
<option>seven eight</option>
<option>nine ten</option>
<option>one two three four five six</option>
<option>seven eight</option>
<option>nine ten</option>
</select>
</div>