Create a table paragraph style

Applies to
Microsoft Office FrontPage® 2003
Microsoft FrontPage® 2002

Prior to FrontPage 2002, if cascading style sheet (CSS) attributes were set for the table data (<td>) tag, text in a table cell adopted the styles for that tag. For example, if you modified the <td> tag with the user-defined style attribute "color: green," the text in the table cell displayed as green.

In FrontPage, when style modifications are made to the paragraph (<p>) tag, text in a table cell also adopts those style attributes. This happens so FrontPage can apply text styles consistently throughout your Web page, and to enable editing consistent with Microsoft Word HTML templates.

To make sure your table uses unique styles (and not those for <p>), create and modify the table paragraph style, called table p, which is a text style that applies only to text inside a table.

Do one of the following:

ShowAdd table p to a Web page that uses an embedded CSS

Open the Web page in FrontPage and do the following:

  1. On the Format menu, click Style, and then click New.
  2. In the Name (selector) box, type table p.
  3. Click Format, and then specify the formatting characteristics for the new style:
    • To set font properties such as the font family or color, or character spacing click Font.
    • To set alignment, indentation, or spacing, click Paragraph.
    • To set borders and shading, click Border.
    • To set the style of bullets or numbering, click Numbering.
    • To set positioning properties such as wrapping style, location, or z-order (an element's position in the layers of the page) click Position.

 Note   Not all fields need a value.

  1. Close all dialog boxes to return to the page.

ShowAdd table p to an external CSS

  1. In the Folders list, double-click to open the external cascading style sheet (CSS) you want to modify.

External cascading style sheets have a .css extension.

  1. On the Format menu, click Style, and then click New.
  2. In the Name (selector) box, type table p.
  3. Click Format, and then specify the formatting characteristics for the new style:
    • To set font properties such as the font family or color, or character spacing click Font.
    • To set alignment, indentation, or spacing, click Paragraph.
    • To set borders and shading, click Border.
    • To set the style of bullets or numbering, click Numbering.
    • To set positioning properties such as wrapping style, location, or z-order (an element's position in the layers of the page) click Position.

 Note   Not all fields need a value.

  1. Close all dialog boxes to return to the style sheet.

 Note   You have to assign a CSS to a document before the styles will be available for that document.

 Notes 

  • If you don't mind that the text between the <td></td> tags is the same color as the text between the <p></p> tags, you do not need to create the table p style.
  • Text in tables created in FrontPage 2002 and 2003 will also adopt style attributes for the <p> tag instead of the table row (<tr>) tag when both tags have been modified.