473,386 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Set the height of a drop down

200 100+
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
3 5992
AutumnsDecay
170 100+
Try adding a 'size' variable to the menu.
Oct 30 '08 #2
ismailc
200 100+
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
David Laakso
397 Expert 256MB
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

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

Similar topics

2
by: ehm | last post by:
I am working on creating an editable grid (for use in adding, deleting, and editing rows back to an Oracle database). I have a JSP that posts back to a servlet, which in turns posts to a WebLogic...
8
by: Rithish Saralaya | last post by:
I want a row/cell of 1px height. This is what I have tried to achieve that. <TR><TD><IMG HEIGHT=1 SRC='http://myserver.com/blank-small.gif'></TD></TR> However, the row does take more than 1px....
3
by: Don Wash | last post by:
Hi There! I have a Server-side Drop-down box in ASP.NET (VB) page. What do I do to widen the Drop down box's Pull-Down list's width? I'm not talking about the Drop-down box's width but the box...
2
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will...
7
by: callawayglfr | last post by:
I am building a database in access where I have a drop down box that relates to a text box, that part I have working but when someone selects information from the first drop down I need it to limit...
5
by: Sal Monella | last post by:
At http://tides.org the (all caps) font on the top-row links on the various horizontally mounted dropdown menus appear abnormally tall and narrow to me. How do you do this? line height...
2
by: birdy | last post by:
Hello all, I found a slight problem that is puzzling me What I want, - When I have a drop down box on a screen it should be size=1. - When I click on the drop down box, ALL values should be...
1
by: ismailc | last post by:
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! I...
3
by: Gord | last post by:
If possible, how can the user be prevented from adjusting the column width and/or the row height in datasheet view (in VB code if necessary)? (I still want them to be able edit the contents of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.