To use styles in a web page, the style sheet containing those styles must be assigned as a property of the web page document. There are several ways to assign (link) a style sheet to a web page.

Note: You cannot link a style sheet to a file in a package; therefore styles are not available to HTML pages created in a package.

 

Multi-user Considerations Multi-user Considerations

ProcedureTo assign a style sheet to a document:

  1. From the Library, Outline Editor, or Web Page Editor, display the Properties toolpane.
     
  2. From the Library or Outline Editor, select the document to which you want to assign a style sheet.
     
    You can select multiple documents from the Library or Outline Editor using the standard Windows selection keys (CTRL+click and SHIFT+click). However, only modules, sections, topics, and web pages can be included in the selection.
     
    To assign a style sheet to a web page from the Outline Editor, select a document in the outline that links to a concept and change the Properties view to Concept. You can select multiple documents in the outline using the standard Windows selection keys (CTRL+click and SHIFT+click). However, only documents linked to web page concepts can be included in the selection.
     
  3. In the General category, click the Style Sheet cell then click Browse.
     
  4. In the Select a Style Sheet Document dialog box, navigate to the desired style sheet and click Open.

ProcedureTo remove a style sheet assigned to a document:

  1. From the Library, Outline Editor, or Web Page Editor, display the Properties toolpane.
     
  2. From the Library or Outline Editor, select the document from which you want to remove an assigned style sheet.
     
    You can select multiple documents from the Library or Outline Editor using the standard Windows selection keys (CTRL+click and SHIFT+click). However, only modules, sections, topics, and web pages can be included in the selection.
     
    To remove a style sheet from a web page in the Outline Editor, select a document in the outline that links to a concept and change the Properties view to Concept. You can select multiple documents in the outline using the standard Windows selection keys (CTRL+click and SHIFT+click). However, only documents linked to web page concepts can be included in the selection.
     
  3. In the General category, click the Style Sheet property name and press DELETE to clear the field.

Table of Contents  Back

Assign_a_Style_Sheet_to_a_Document