Hi Paul,

On 17 February 2010 01:51, Paul Collins <[email protected]> wrote:
> I'm have a fixed width on a multiple select box. The problem is, some of the
> options are longer than the width and by default the lines won't wrap. I'm
> wondering if anyone has seen a way of making lines wrap using either CSS or
> JQuery. I've added a title to each option, so you can get the full content
> if you hover over an item, but really need the text to wrap.

I’ve used this jquery plugin successfully in the past:
<http://www.givainc.com/labs/linkselect_jquery_plugin.htm>

Haven’t tried this one:
<http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessible_plugin_for_styling_a_html_select/>

Once I wrote some simple JavaScript which made the select wider upon
focus if necessary in Internet Explorer. Even with some absolute
positioning to ensure the surrounding layout wasn’t broken, the effect
was effective but a bit weird.

HTH
Ollie
@ollicle


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to