Previous Message
Next Message

Wrap text in li

Sent by Bobby Jack on 9 April 2009 20:08


--- On Thu, 4/9/09, Chike Loney [EMAIL-REMOVED]> wrote:

> Hi guys, can anuyone tell me how to wrap text in a list item
> please?

Sure:

<li>text</li>

:-)

Of course, you're /probably/ not asking for that, but it would be useful to have a BIT more detail.
Do you mean 'dynamically'? If so, you want to be looking at javascript for that, not CSS. Do you
mean 'wrap' as in what happens when text won't fit within the width of one line? That should happen
automatically, but you can reduce the width of the parent ul/ol with the CSS width property. I can't
think what else you might mean.

- Bobby 
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: