Help and Support

Article ID: 948320 - Last Review: February 27, 2008 - Revision: 1.0

How to enable the "Use Predefined Table Format" setting when you use a Windows SharePoint Services template in SharePoint Server 2007

On This Page

Expand all | Collapse all

INTRODUCTION

Microsoft Office SharePoint Server 2007 includes an advanced Rich Text Editor that supports predefined table formats. The Rich Text Editor in SharePoint Server 2007 reads the predefined table formats from cascading style sheets that are linked to the page. However, the Rich Text Editor in Windows SharePoint Services cannot read the predefined table formats from cascading style sheets. Therefore, the Rich Text Editor in Windows SharePoint Services does not support predefined table formats.

In SharePoint Server 2007, the Use Predefined Table Format setting may not be available when you use the Rich Text Editor feature to edit a Web Part. This behavior occurs when you use a Windows SharePoint Services template to create the site. This article describes how to enable the Use Predefined Table Format setting when you use a Windows SharePoint Services template to create a site in SharePoint Server 2007.

MORE INFORMATION

To enable the Use Predefined Table Format setting on a site that is hosted by SharePoint Server 2007, use one of the following methods.

Method 1: Edit the site in SharePoint Designer 2007

To enable the Use Predefined Table Format setting, use SharePoint Designer 2007 to add a link to the SharePoint Server 2007 cascading style sheet. To do this, follow these steps:
  1. Start SharePoint Designer 2007.
  2. Open the site that contains the page on which you want to use predefined tables.

    Note You may have to import the site into SharePoint Designer 2007.
  3. Open the _catalogs/masterpage/default.master page.
  4. On the Format menu, click CSS Styles, and then click Attach Style Sheet.
  5. In the URL box, type /_LAYOUTS/1033/STYLES/Htmleditortableformats.css, and then click OK.
  6. On the File menu, click Save.

Method 2: Modify a linked cascading style sheet

To enable the Use Predefined Table Format setting, copy the entries in the Htmleditortableformats.css file to a cascading style sheet that is already linked to the site.

Note By default, the Htmleditortableformats.css file is located in the \Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\STYLES\ folder.

REFERENCES

For more information about how to customize the HTML Editor field control in SharePoint Server 2007, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/ms561507.aspx (http://msdn2.microsoft.com/en-us/library/ms561507.aspx)

APPLIES TO
  • Microsoft Office SharePoint Server 2007
  • Microsoft Windows SharePoint Services 3.0
Keywords: 
kbhowto kbprb KB948320

Article Translations