Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office FrontPage
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Create a table paragraph style
 

Prior to Microsoft 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 2002, when style modifications are made to the paragraph (<p>) tag, text in a table cell also adopts those style attributes. This happens so FrontPage 2002 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.

  4. 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.

  2. On the Format menu, click Style, and then click New.
  3. In the Name (selector) box, type table p.
  4. 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.

  5. 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 will also adopt style attributes for the <p> tag instead of the table row (<tr>) tag when both tags have been modified.
advertisement