[thelist] handling long drop down list

aardvark roselli at earthlink.net
Thu May 24 12:20:15 CDT 2001

> From: "Gary B. Swanson" <gary.swanson at xwave.com>
> I am trying to find if there is a way to limit the width of items
> within a drop-down or select list.
> i.e.  limiting the display of the list item, or dynamically extending
> when a longer item appears.  I have thought of limiting the input of
> information to the drop-down, but am looking for another answer.

the select menu's width is determined by the length of the longest 
chunk of text in there...

IE3/win used to do some interesting truncation on some select 

NN4.x- has problems resizing the menus when you use JS to re-write 
what appears there... often your text gets truncated...

you can use CSS, or even font tags in the case of NN3+, to adjust the 
size of the text... i've never tried clipping or setting an absolute 
width with CSS, though, so i'd be interested to hear if you try 

More information about the thelist mailing list