Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting the visible height of a <SELECT>dropdown ?

Status
Not open for further replies.

maverick

MIS
Apr 21, 1999
193
US
Hey everyone,

How can I Set the height of a <SELECT(dropdown) to a specific amount of rows ?

there are 10 choices but I only want the dropdown to show 5 at a glance and the rest through the scroll bar...

Any Ideas ?

Thanks! much!
 
<select size=5>

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

fart.gif
 
This makes it into a listbox,
I want to keep it a dropdown,

I want one item to show, and the dropdown to only expand to 5 items, but still be able to scroll to see the rest...

Thanks

 
Well then,
we have found something they didn't think of !
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top