Adds a Css block to the 'css' placeholder.

Syntax

Smartsite SXML CopyCode image Copy Code
placeholder.addcss(string cssRules)
placeholder.addcss(string cssRules, integer priority)
placeholder.addcss(string selector, string styles)
placeholder.addcss(string selector, string styles, integer priority)

Parameters

Name Data Type Description
cssRules String The CSS rules.
priority Integer Priority for sorting the results.
selector String The selector.
styles String The styles.

Return Value

None.

Expand image Example

SXML