DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 822262 - Last Review: June 13, 2007 - Revision: 3.2

SYMPTOMS

In Microsoft Expression Web, in Microsoft Office SharePoint Designer 2007, or in Microsoft Office FrontPage 2003, you use the AutoFormat feature to format a table. Then, you try to change the background color of a single cell by adding a bgcolor attribute to a <td> tag. When you do this, the background color of the cell does not change.

CAUSE

This issue occurs because the AutoFormat feature for tables uses Cascading Style Sheets (CSS) to control cell color. For more information about CSS, see the "About styles" topic in the FrontPage Help files.

In Expression Web or in SharePoint Designer 2007, see the following Help topics:
  • Apply a custom style sheet to a SharePoint site
  • Create HTML Editor styles

RESOLUTION

To resolve this issue, customize table background colors by modifying the properties of the table. For more information about how to do this in FrontPage 2003, see the "Set the background properties of a table" topic in the FrontPage Help files.

Note You can also directly edit the HTML code that controls the background color by modifying the table's style attribute. For more information about how to do this in FrontPage 2003, see the "Change properties for an individual HTML tag" topic in the FrontPage Help files.

To customize the background colors of a table in Expression Web or in SharePoint Designer 2007, follow these steps:
  1. Right-click the table, and then click Table Properties.
  2. In the Table Properties dialog box, select a color from the Color palette in the Background area.
  3. Click Apply.
To customize the background colors of a data view, use conditional formatting. For more information about how to do this in FrontPage 2003, see the "Add or remove conditional formatting for a Data View" topic in the FrontPage Help files.

In Expression Web or in SharePoint Designer 2007, see the "Apply conditional formatting to a Data View" Help topic.

APPLIES TO
  • Microsoft Office SharePoint Designer 2007
  • Microsoft Expression Web
  • Microsoft Office FrontPage 2003
Keywords: 
kbformat kbprb KB822262
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support