Posts

Showing posts with the label TOCWP

Customise Table of Contents Web Part CSS Styles (TOCWP) MOSS 2007 - Page 2

Image
The following is Page 2 of a two page article relating to modifying the styles of the Table of Contents web Part (TOCWP) for SharePoint. Go to PAGE 1 of Customise Table of Contents Web Part CSS Styles (TOCWP) MOSS 2007 . Contents: Page 1 Article Overview 1. Table of Contents Web Part Configuration 2. Using Background Images in Style Classes 3. Override default CSS classes used by a TOCWP 3.1 Overriding Default Classes 3.2 Applying the New Style Classes to Override the Default Page 2 4. Replacing CSS Classes 4.1 Create new Style Classes 4.2 Customise the default XSL Stylesheet used by the TOC Web Part 5. Related Articles 4. Replacing CSS Classes This section explains how to create and apply new styles to specific presentation options for a Table of Contents Web Part. Once the new classes have been created, you need to also follow the steps later in this section relating to modifying classes via the default XSL st...

Customise Table of Contents Web Part CSS Styles (TOCWP) MOSS 2007 - Page 1

Image
The following explains (with examples), how to modify the Table of Contents Web Part (TOCWP) using CSS to display content from a SharePoint site and sub-sites based on the site navigation with a custom appearance. This allows content to be displayed dynamically by the web part based on the current site and any sub-site navigation and content without using Data Views or having to maintain link lists or similar. There are a number of methods that can be used to customise the layout of the Table of Contents Web Part. Some methods will result in the new styles being applied to every TOCWP across the entire site collection, where others allow you to customise the styles for a specific TOCWP on only one, or a selection of pages. The first method that I use is to override the default style classes for the TOCWP. This allows flexibility with the application of the new styles, as the new style classes that override the default can be place in a global style sheet, or on a page containing a Ta...