Show TOC

 HTML Stylesheet FiltersLocate this document in the navigation structure

Definition

The HTML stylesheet filter is based on the HTML filter. In contrast to the HTML filter, this filter uses no base tag or URI handler.

See: HTML Filters

Use

You use an HTML stylesheet filter to assign a CSS stylesheet to HTML documents.

Activities

To create an HTML stylesheet filter or to change the configuration of an existing filter, choose Content Management → Repository Filters → HTML Stylesheet Filters.

For a description of all filter parameters used, see Content Filters .

Example

Name         = cssMIME Types   = text/htmlStylesheet   = /wcm/etc/public/mimes/css/wcm.cssRepositories = documents

The example above shows configuration for a content filter named css . The filter is applied to all resources in the documents repository that have MIME type text/html . The CSS stylesheet that controls the layout and format of the resource content in the browser has the URI / wcm/etc/filter/public/mimes/css/wcm.css .