Microsoft KB Archive/328495

From BetaArchive Wiki

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



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:

  1. Open your Discussion Web in FrontPage.
  2. Open the file named Discussion_post.htm, where Discussion is the name of the Discussion folder that you specified when you originally ran the Discussion Web Wizard.
  3. Switch to the Hypertext Markup Language (HTML) view.
  4. Locate the line of code that begins with the following code:

    <!--webbot bot="Discussion"
                        
  5. Locate the s-article-format parameter, and then change the value to the following value:

    s-article-format="HTML/PRE"
                        
  6. Save, and then close the page.

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
 HTML tag.
# Click OK four times.
# Click Save As, and then type a new theme name for your modified theme.
# Click Apply using CSS, and then click OK to apply the changes to your Discussion Web.

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



back to top

REFERENCES

For additional information about FrontPage Discussion Webs, click the article numbers below to view the articles in the Microsoft Knowledge Base:
250626 FP2000: Overview of FrontPage Discussion Web Architecture
273493 HOW TO: Create a Discussion Web Using FrontPage 2000
back to top

Additional query words: front page Keywords: kbhowto kbhowtomaster KB328495