i am having a problem in saving a content or value of textarea,., i input a text from textarea and i dont use a linebreak for it,. when i display it on my page, it appears in oneline and it results my page to expand,.
is there any solution to break a line of a sentences/paragraph according to the size of textarea??..
<textarea rows="2" cols="20" wrap="hard">
The Wrap Attribute is supported by all browsers, but as your question is not entirely clear and you have not
posted a sample, it is difficult to ascertain if this indeed may be the solution you are searching for.
</textarea>
i want to enter a paragraph(copy & paste) form in a textarea that will be saved in the database,. upon saving on it, when i check my database, the paragraph form that i enter displays only in a one line,. the result is, when i display the paragraph came from a database, it appears only in a one line that make my website wider/expand,.
Each paragraph of the text is supposed to be saved in the database as one line. That is normal and correct. It is up to the html element to are using to display it to word wrap it. You still have not explained how you are displaying the text. A code fragment would help.
Bookmarks