samedi 2 juillet 2016

Getting a long line of text to actually break on a % based div

I am trying to get it so that if a long string of characters are entered in the forums on my new site, it doesn't break the % based div/table for the content.

This is what I mean

What am I doing wrong? How do I make it so that it strictly breaks the long character, to fit the area no matter what. I even tried using php code, however it didn't much work as I wanted it to:

 <?php echo wordwrap($Body),150,"n",true); ?>

Any ideas, I made that codepen link myself with an example of what happens, and how I want it to look.

Aucun commentaire:

Enregistrer un commentaire