Sharan, I think the right way to code long lines is by inserting the return
where you want it.
<option value="administration">Administration, Management,
 Marketing,
Realty Etc.</option>
If a simple style like
option{white-space:pre}
works well enough for you (firefox likes it) you are done, otherwise you'll
have to re-code the <select> to an equivalent tag using a plugin. (which
Glen mentioned)
On 4/26/07, Sharan <[EMAIL PROTECTED]> wrote:
Yes Glen,
here is the page which i m talking about :
http://akswebsolutions.com/projects/jobsfed3/index3.html
At the bottom under the occupations title you can see three select
boxes. now i can't increase their width but some entries may be longer
than the width of the select box. So i want that the longer entries
automatically wrap, so that the visitor can see the complete option.
Sharan.
On Apr 26, 10:12 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> Could you post an example?
>
> Glen
>
> On 4/26/07, Sharan <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
> > This isn't jquery specific. But is there any way to wrap the long
> > option in a multiple select box using javascript or any other way.
> > Even if this is not possible then what is the best way to show the
> > long options (using tooltip etc.) ? as they get cut off if the width
> > is defined.
>
> > Sharan.
--
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ