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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

limiting select list selection height

Status
Not open for further replies.

1DMF

Programmer
Jan 18, 2005
8,795
GB
Hi,

Is it possible to limit the height of a select lists popup selection?

size is not the attribute I want , I would like the initial select list to be size="1" , it contains 20 items but the dropdown list only shows 10 and you need to scroll for the rest.

how do I set the dropdown container height?

thanks 1DMF

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
You cannot -- it is an OS dependant control and OS renders it the way it desires.
 
thanks for the quick reply, not what i wanted to hear though - lol

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top