Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FP2000: Extra Line Spacing Inserted After Pressing ENTER


View products that this article applies to.

This article was previously published under Q205659

For a Microsoft FrontPage 98 version of this article, see 194246 (http://support.microsoft.com/kb/194246/EN-US/ ) .
For a Microsoft FrontPage 97 and earlier version of this article, see 169883 (http://support.microsoft.com/kb/169883/EN-US/ ) .

↑ Back to the top


Symptoms

If you press ENTER when you edit a page in page view, a blank line is inserted before the next line of text, which causes the text to look double-spaced.

↑ Back to the top


Cause

When you press ENTER in FrontPage, FrontPage inserts a paragraph element represented in Hypertext Markup Language (HTML) by the <P> tag. When it is rendered by a Web browser, the paragraph is displayed with a line space before it. If your lines are short or you press ENTER when you reach the right margin instead of allowing the text to wrap to the next line, each line is formatted with the <P> tag, resulting in the extra line space between paragraphs.

↑ Back to the top


Resolution

To work around this behavior, insert a normal line break (<BR>) instead of a paragraph (<P>), using one of the following methods.
  • On the Insert menu, click Break, and then click OK.

    A normal line break, represented by a right-angle arrow in FrontPage, appears at the end of the line. The arrow does not appear when you open the page in a Web browser or in the page view of FrontPage if you click the Show All (Format Marks) button on the Standard toolbar to turn off the display of non-printing characters.

    -or-
  • Press SHIFT+ENTER.

-or-
  1. Click Style on the Format menu.
  2. Select All HTML Tags from the list, and select p in the list of styles.
  3. Click Modify.
  4. Click Format and select Paragraph.
  5. In the Spacing section, set the Before and After fields to 1.

↑ Back to the top


More information

For additional information about HTML, please see the following Microsoft Web site:

↑ Back to the top


Keywords: KB205659, kbprb

↑ Back to the top

Article Info
Article ID : 205659
Revision : 2
Created on : 7/2/2007
Published on : 7/2/2007
Exists online : False
Views : 267