Microsoft KB Archive/169835: Difference between revisions
m (Text replacement - "<" to "<") |
m (Text replacement - """ to """) |
||
(One intermediate revision by the same user not shown) | |||
Line 25: | Line 25: | ||
== WORKAROUND == | == WORKAROUND == | ||
To work around this behavior and retain scroll bars, line breaks, and carriage returns, enclose the text in a <TEXTAREA | 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 | </FORM></pre> | ||
|} | |} | ||
Latest revision as of 11: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 |