Lol sry I ddint use a parent <ul> but even though the text in the <li> is not wrapping, meaning I want it to display within a certain area so if ther is more than one line of text it wud automatically skip to a next line and align itself...
Sent from my BlackBerry® wireless device available from bmobile. -----Original Message----- From: Bobby Jack <bobbykj...@yahoo.co.uk> Date: Thu, 9 Apr 2009 18:59:59 To: CSS-D<css-d@lists.css-discuss.org> Subject: Re: [css-d] Wrap text in li --- On Thu, 4/9/09, Chike Loney <chikelo...@gmail.com> 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 [cs...@lists.css-discuss.org] 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/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/