PDA

View Full Version : Set the height of a drop down


ISMAILC
10-30-2008, 10:30 AM
Hi,

Is there a way of setting the height of a drop down box?
I could manage this by setting the font-size but have to set it really big to get the height of the drop down to increase!

Please Assist!

Amisha_Sharma
10-31-2008, 06:11 AM
Hi

You can do this by giving HEIGHT parameter in Select tag

eg

<SELECT height=10 name="abc">
<OPTION></OPTION>
</SELECT>

ISMAILC
10-31-2008, 06:18 AM
Thanks - works for me...

maigan
02-10-2009, 08:22 AM
Yes, I've tried setting it after adding the items to the combobox. In the debugger it looks like the new value is there. However, when I open the dropdown, it drops down to a size of its own choosing. I've tried exaggerating the MaxDropDownHeight and have even set it to "Auto" to no avail.