[thelist] Line-wrap on a select box?

Chris at globet.com Chris at globet.com
Mon Jun 20 08:29:36 CDT 2005


Ryan 

> Been searching for a solution for this one for some time. and 
> hoping someone on the list can help:
> 
> I have a list box that contains book/video titles.  A few of 
> the titles are very long (and cannot be
> abbreviated) forcing the list box to be very wide ...
> and breaking my css 3-column layout.
> 
> Short of editing the titles, does anyone have a solution for 
> shrinking the width of the list box?  I have this problem on 
> both single and multi select boxes.

You can specify the width of the select box in CSS. I don't know if all
browsers support this, and even if they do it will obscure the ends of
the longer items.

Regards

Chris Marsh


More information about the thelist mailing list