On Wed, Aug 4, 2010 at 8:19 AM, Nancy Johnson <[email protected]> wrote:

> Hi,
>
> Is there any way to display content of one <option> area on multiple
> lines in a list box?
>
> <select>
>  <option>Lots of text Lots of
>               text </ option>
>  <option>More text </ option>
> </ select>
>
> Appears something like this in design view
>
> ________________
> Lot of text Lots of
> text
> ________________
>
> Thanks in advance,
>
> Nancy
>

I've been testing a few theories on this and haven't been able to come up
with a way using strictly html and css. However, if you look at
http://tunulo.us/ there's a hidden <select> element, which has its options
recreated in <ul><li> format which allows for much more flexible styling,
and uses javascript to manipulate the hidden <select> element.

Hope it helps,
Alex Mitchell
http://gumware.com/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to