You cannot change the background color of a cell after you use AutoFormat to format the table in Expression Web, in SharePoint Designer 2007, or in FrontPage 2003

Article translations Article translations
Article ID: 822262 - View products that this article applies to.
Expand all | Collapse all

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.

Properties

Article ID: 822262 - Last Review: June 13, 2007 - Revision: 3.2
APPLIES TO
  • Microsoft Office SharePoint Designer 2007
  • Microsoft Expression Web
  • Microsoft Office FrontPage 2003
Keywords: 
kbformat kbprb KB822262

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com