I have written a forum, but I’ve got one problem… The text from the posts overflows, it just passes the div even though it has a set width. It never creates a linebreak. I’ve have tried replacing \r\n with
, but with no success. If it would have been pure HTML it wouldn’t react like this. The text is of course generated from a textarea which is saved in a database and then retrieved.
Is there any way of solving this issue of mine?
Thanks for your time!
ZyteX
No need to answer this anymore! I solved it by making a system where you need to have atleast two words and where the length of the words can not be longer than 40 char.
Thanks for answering!