Posted by Jonathan N. Little on 09/22/06 14:35
Brian Cryer wrote:
<snip>
> As an alternative, why not use the word-wrap css, for example:
>
> <p style="width: 5em; word-wrap: break-word">12345678901234567890</p>
^^^^^^^^^^^^^^^^^^^^^
word-wrap? You won't find it here
<http://www.w3.org/TR/CSS21/propidx.html>
That is an MS thingy..... If OP really wants to force breaking lines
intra-words of user input he needs to process server-side with some
function that counts characters or looks for specific character to break
on like '/' and insert BRs into the markup <= some maximum character
length within the string....
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|