Microsoft KB Archive/328495

= HOW TO: Preserve Carriage Returns in a FrontPage Discussion Web =

Article ID: 328495

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q328495







IN THIS TASK
SUMMARY
 * Step 1 - How to Change the Discussion Text to Use a Preformatted Style
 * Step 2 - How to Maintain the Font List from Your Current Theme

REFERENCES



SUMMARY
This step-by-step article describes how to change the output format of a FrontPage Discussion Web to maintain carriage returns that you type into a multi-line text box.

back to top

Step 1 - How to Change the Discussion Text to Use a Preformatted Style
To change the output format of a Discussion Web so that carriage returns remain in the posts to the Discussion Web, you must modify a format parameter for the FrontPage WebBot that handles user input. To do this, follow these steps:  Open your Discussion Web in FrontPage. Open the file named  _post.htm, where  is the name of the Discussion folder that you specified when you originally ran the Discussion Web Wizard. Switch to the Hypertext Markup Language (HTML) view.  Locate the line of code that begins with the following code:   Locate the s-article-format parameter, and then change the value to the following value: s-article-format=&quot;HTML/PRE&quot;  Save, and then close the page.</li></ol>

NOTE: These formatting changes only apply to new posts to the Discussion. The format for existing posts do not change.

back to top

Step 2 - How to Maintain the Font List from Your Current Theme
The earlier steps cause all new posts to display text in a typewriter-style font on most computers. If you use Cascading Style Sheets (CSS) to apply a theme to your Discussion Web, you can modify the styles of the Preformatted Discussion to use the fixed-width fonts from your theme for all posts. To do this, follow these steps.

Note To use CSS for themes you must have CSS 1.0 enabled. To enable CSS 1.0, click Page Options on the Tools menu, click the Compatibility tab, and then click CSS 1.0 (formatting).
 * 1) On the Format menu, click Theme, and then click your theme in the in the Themes dialog box.
 * 2) Click Modify, click Text, and then click More Text Styles.
 * 3) Click HTML Tags in the List box, and then click the pre in the Styles list.
 * 4) Click Modify, click Format, and then click Font.
 * 5) Click Courier New in the Font list, or type the name of a multiple cross-browser fixed-width font-family, such as Courier New, Courier , or Monospace.

Note Specify only fixed-width fonts for the <PRE> HTML tag.
 * 1) Click OK four times.
 * 2) Click Save As, and then type a new theme name for your modified theme.
 * 3) Click Apply using CSS, and then click OK to apply the changes to your Discussion Web.

Note This formatting change applies to all <PRE> HTML tags in your Web or Subweb, whether or not they are used for Discussion posts.

back to top

<div class="references_section">