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!

DropDownList Width

Status
Not open for further replies.

WorkerBeeJ

Programmer
Aug 6, 2002
34
US
Is it possible to set the width of a dropdownlist, but to have the dropdown expand (if necessary) to the width of the widest item when the user clicks on the dropdown? I'd like to keep the table containing this dropdown looking clean and justified, but my list items are getting cut off if I just specify the width of the dropdownlist. (I'm retrieving values from a database, so I don't know what the data items are beforehand).

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top