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
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
Discussion
_post.htm, whereDiscussion
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:
<!--webbot bot="Discussion"
Locate the s-article-format parameter, and then change the value to the following value:
s-article-format="HTML/PRE"
- 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).
- On the Format menu, click Theme, and then click your theme in the in the Themes dialog box.
- Click Modify, click Text, and then click More Text Styles.
- Click HTML Tags in the List box, and then click the pre in the Styles list.
- Click Modify, click Format, and then click Font.
- 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.
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 allHTML 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:Additional query words: front page Keywords: kbhowto kbhowtomaster KB328495