Reference a style sheet

 

+

Search Tips   |   Advanced Search

 

The style element tag is used to reference a style sheet component selected as the default style sheet in an authoring template, or a style sheet component referenced within a site, site area or content item using a component reference.

To reference a specific style sheet component, use a component tag.

<StyleElement source=" " name=" " start=" " end=" " />

<StyleElement Opens a component tag.
source=" " You specify a source of either:

source="template"

This will use the style sheet specified in the authoring template of the current content item. You do not specify a name when using template as the source. To use this option, have selected a default style sheet in the related authoring template.

source="path"

This will use the first style sheet element matching the name, specified in the name parameter below, from either the current site, site area or content item in that order. To add a style sheet to a site, site area or content item, we will need to use a component reference element and select a style sheet component as the component reference.
name=" " Enter the name of the element to search for when source="path".
start=" "

end=" "

The start and end attributes are used to wrap the data returned by an IWWCM ™ tag within other tags, such as HTML. These attributes are not mandatory. See the Using start and end attributes topic for more information on using these attributes.
/> Closes a Web Content Management tag.

 

Parent Topic

Style sheet element