A question… How can we insert breaks into string and make a multi line string to prevent overflow in axis lengths of an fixed width element?!
Exapmple Code that include the problem:
<div style="width:100px;">
Too Long String...
</div>
I need to be like this one:
<div style="width:100px;">
Too Long String (Line 1st)<br />
Too Long String (Line 2nd)<br />
Too Long String (Line 3rd)<br />
Too Long String (Line 4th)<br />
...
</div>
What kind of client side script should i use for ?!
Use the style property “word-wrap: break-word” u will get a multi lined string without overflow.
regards