Use a style sheet element
You store a style sheet file in a style sheet element.
You can only use a style sheet element by creating a style sheet component.
You cannot add a style sheet element to authoring templates, site areas or content items.
- From an authoring portlet, click New > Component > Style Sheet .
- Go to the Style Sheet tab.
- Enter identification information for the component.
- Select the style sheet to upload by clicking Browse.
- Select a style sheet and click OK.
- Select a style sheet type. HTML allows authors to associate any number of external style sheets with a document:
- Select Alternate style-sheet if the selected style sheet is to be used with a number of mutually exclusive style sheets.
- Select Preferred style-sheet if the selected style sheet is to be used as the preferred style sheet within a set of alternate style sheets.
- Select Persistent style-sheet if the selected style sheet is the only style sheet being used.
- Enter the display title of the style sheet.
- Select a media-type to use with the style sheet.
- If workflows are enabled for components, select a workflow.
- Set access properties.
- Save the component form.
Parent topic:
Work with elements
Related concepts
Style sheet element