Microsoft KB Archive/169835: Difference between revisions
m (Text replacement - ">" to ">") |
m (Text replacement - """ to """) |
||
Line 27: | Line 27: | ||
To work around this behavior and retain scroll bars, line breaks, and carriage returns, enclose the text in a <TEXTAREA> tag. For example, change this code: | To work around this behavior and retain scroll bars, line breaks, and carriage returns, enclose the text in a <TEXTAREA> tag. For example, change this code: | ||
<pre> <%= Request.Form( | <pre> <%= Request.Form("describe") %> | ||
</pre> | </pre> | ||
to this: | to this: | ||
<pre> <FORM> | <pre> <FORM> | ||
<TEXTAREA ROWS= | <TEXTAREA ROWS="25" COLS="80"> | ||
<%= Request.Form( | <%= Request.Form("describe") %> | ||
</TEXTAREA> | </TEXTAREA> | ||
</FORM></pre> | </FORM></pre> |
Latest revision as of 10:04, 21 July 2020
FP: Discussion Web Message Won't Keep Formatting after PostingLast reviewed: March 19, 1998 |
The information in this article applies to:
SYMPTOMSThe text that you type in a message box (text box) and post to a discussion Web page does not retain formatting such as carriage returns and multiple character spaces. CAUSEThe text from the message box (text box) is converted to Hypertext Markup Language (HTML) format and the carriage returns and extra character spaces are discarded. WORKAROUNDTo work around this behavior and retain scroll bars, line breaks, and carriage returns, enclose the text in a <TEXTAREA> tag. For example, change this code: <%= Request.Form("describe") %> to this: <FORM> <TEXTAREA ROWS="25" COLS="80"> <%= Request.Form("describe") %> </TEXTAREA> </FORM> |
Last reviewed: March 19, 1998 |