I want to make a message textbox, when there is a newline the text will go down to fit the size of the textbox

text here text here text here text here text here text here
text here text here text here text here
text here text here
text here

Thank You

Have you tried css word-wrap?

Try it and tell if it is what you want to do.

Yes. I'll tell you for progress. Thank You.

Member Avatar
LastMitch

@bLuEmEzzy

The question you ask has nothing with php? It's more css. This is the <textarea> more related to php:

<textarea id="" name="" rows="15" cols="80" style="width: 75%"></textarea>

@lastMitch, textarea is normally used for inputs instead of displays.