Monday 15 February 2010

php - Break line automatically when user input long text without adding white-space -


I have a div container that was used by users to display the text included. But, I have a problem when users attempt to add long text without white space (formerly: BalaLalalalal ...) or that text is in Unicode character, therefore, this only one row overflow to my DIV container Will display

I want to connect a break line with you automatically. How to do this?

thanks :)

If you have CSS3 you can type 'word-break' property can try.

To view the demo:



No comments:

Post a Comment