Adjusting the height of a ListBox (<select>)
Posted on 2007-07-25
I'm using the ListBox on my HTML-page.
<select size="4" name="DrawingsList" id="DrawingsList" style="height:100%;width:100%;" >
<option value="vvv" >TTT</option>
The ListBox is putted into a DIV and should cover all the space inside the DIV. But the height of the ListBox is automatically rounded and made divisible by the font's height. So, the height is a bit incorrect.
In WinForms and Win32, I know, you can turn off the "Integral height" mode and get exactly sized ListBox.
How can I get exactly sized ListBox in HTML?
Thanks for a response!