Hi guys,
I'd like to wrap some text onto the next line that I have held in an LI - the wrapping needs to be done dynamically so I'm looking towards CSS
I want it to look something like this:
<ul>
<li> normal sized </li>
<li> big massive long one that i'd like to wrap to the next line like below </li>
<li> the result that
i'd like to see </li>
</ul>
I don't want any scrollbars, and I don't want it to go off the page, and setting the width of either the UL or LI in CSS doesn't seem to be doing it for me. Any ideas? I'm sure its something trivial I'm missing
Thanks
Edit: I've tried those solutions without any luck - by themselves, they work fine. So I have to conclude that the problem lies somewhere in the jQuery code I'm using. (using a plugin called jqueryFileTree). The code pulls up a filename, so there's probably a problem there with breaking the line