Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > CSS and HTML
Register FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Display Modes
Unread 10-30-2008, 11:30 AM
ISMAILC ISMAILC is offline
Member
Join Date: Dec 2007
Posts: 45
  #1  
Question Set the height of a drop down

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!
Reply With Quote
Unread 10-31-2008, 07:11 AM
Amisha_Sharma
Posts: n/a
  #2  
Default

Hi

You can do this by giving HEIGHT parameter in Select tag

eg

<SELECT height=10 name="abc">
<OPTION></OPTION>
</SELECT>
Reply With Quote
Unread 10-31-2008, 07:18 AM
ISMAILC ISMAILC is offline
Member
Join Date: Dec 2007
Posts: 45
  #3  
Wink Thanks - great stuff

Thanks - works for me...
Reply With Quote
Unread 02-10-2009, 09:22 AM
maigan maigan is offline
Junior Member
Join Date: Dec 2008
Posts: 12
  #4  
Default

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.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:21 AM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.