469,342 Members | 5,602 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,342 developers. It's quick & easy.

Dropdown list

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.
Jul 19 '05 #1
2 2039
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

"Tapiwa JONGWE" <t.******@unesco.org> wrote in message
news:u#**************@TK2MSFTNGP09.phx.gbl...
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.

Jul 19 '05 #2
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

"Tapiwa JONGWE" <t.******@unesco.org> wrote in message
news:u#**************@TK2MSFTNGP09.phx.gbl...
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.

Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Paul | last post: by
2 posts views Thread by Mike Collins | last post: by
5 posts views Thread by jung_h_park | last post: by
reply views Thread by Andrus | last post: by
1 post views Thread by CARIGAR | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.