By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,528 Members | 1,345 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,528 IT Pros & Developers. It's quick & easy.

Set the height of a drop down

100+
P: 200
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!
Oct 30 '08 #1
Share this Question
Share on Google+
3 Replies


AutumnsDecay
100+
P: 170
Try adding a 'size' variable to the menu.
Oct 30 '08 #2

100+
P: 200
Thanks for the assist, but not sure how to do this:

Can you please provide example for this dropdown height.


Thanks
Oct 30 '08 #3

Expert 100+
P: 397
You might consider setting a minimum-height for it (so its height will expand vertically with user discretion to scale fonts). IE/6 and down do not support min-height. The work around is to feed the lower IEs simple height. The CSS might read something like:
Expand|Select|Wrap|Line Numbers
  1. #whatever {min-height: 150px;}
  2. * html  #whatever {height: 150px;} /* hack for IE/6 */
  3.  
Better yet, provide clickable link in your post to the page/problem in question for a more accurate reply regarding your paticular situation at hand...
Oct 30 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.