Copy link to clipboard
Copied
Hi,
There are sections on my website that use the wordwrap() function, but unfortunately wordwrap seems to have a hard time with a lot of text. For example this is quoted directly from my site:
"Hey, it's ***, aka *** from Youtube and everywhere else =P I'm usually
not
on here, so if you want to get in contact, try Youtube cuz I'm on there more often. xD"
Why is wordwrap only putting one word on the second line? Any help would be appreciated.
Copy link to clipboard
Copied
Take a look at 2 things:
1. the PHP function nl2br() @ http://php.net/manual/en/function.nl2br.php.
2. use css 3 to handle the wrap @ http://www.css3.com/css-word-wrap/
Find more inspiration, events, and resources on the new Adobe Community
Explore Now