Dropdown list

T

Tapiwa JONGWE

I would like to display 15 items (lines) in the dropdown list, but by
default the list displays only 11 lines. How can I have all the 15 items
displayed in my dropdown list ?

Thanks for your help.
 
S

Stuart Palmer

Not really an asp question but in the select tag put 'size="15"'.

If it is ASP related and you are dragging the values out of a db/array, then
you could have the logic :-

If array length => 15 then
Size = 15
else
Size = array length
End if

Otherwise you'd have loads of empty cells in the drop down.

Hope that helps

Stu
 
R

Ray at home

I'd say that's just the nature of the browser. Perhaps it would be
different in a higher resolution.

You could use a listbox style select.
<select size=20>

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top