If the user enters a long line without spaces or spaces, it is broken into formation, moving more widely than the current element. Something like:
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA ................................................. .................................................. ..........................................
I tried just using wordwrap() in PHP, but the problem is that if there is a link or some other valid HTML, it breaks.
There are several options in CSS, but none of them work in all browsers. See Word Wrapping in IE.
How do you solve this problem?
html css php textwrapping
Chris Bartow Dec 12 '08 at 17:03 2008-12-12 17:03
source share