Hi
I have a text input form, which inputs text to a database. This text is then displayed on a web page. Before the text is cut and pasted into the textfield, it may have come from a word document (Microsoft). The text would be formatted with spaces, i.e. write a line, hit return and you get a new line, hit return twice and you get a paragraph. This is how it works in word, in notepad and on the text input form (text field whose input, when submitted, is sent to a database field).
From the text above to what I am writing here, I have hit return twice, thus forming a paragraph space.
The text in my textfield (which when submitted is sent to a field in database) looks like this. However, when displayed on a webpage (which sources from the database using asp), it does not retain spaces and will look like this:
'HiI have a text input form, which inputs text to a database. This text is then displayed on a web page. Before the text is cut and pasted into the textfield, it may have come from a word document (Microsoft). The text would be formatted with spaces, i.e. write a line, hit return and you get a new line, hit return twice and you get a paragraph. This is how it works in word, in notepad and on the text input form (text field whose input, when submitted, is sent to a database field).From the text above to what I am writing here, I have hit return twice, thus forming a paragraph space. The text in my textfield (which when submitted is sent to a field in database) looks like this. However, when displayed on a webpage (which sources from the database using asp), it does not retain spaces and will look like this:'
No spaces, no paragraphs. I would like the text to retain the spaces it has when you first cut and paste and the spaces which are actually visible in the database. So this space
would display on the web page.
Matt