Is there a way in CSS that I can cause the 3rd element in this list, which is longer than the rest, to wrap to a new line if it extends over 100 characters? so that the rest of the text is on the next line?
I tried giving that <li>
a less width, but the content overflows.
I also tried overflow:hidden;
and that cuts it off, but the rest is hidden and not on a new line.
How can I do this?
Here is a JS Fiddle where I am trying to do this: http://jsfiddle.net/ZC3zK/
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…