Parameter
|
Name |
Description |
Type |
This is a required field |
Default |
Values |
|---|---|---|---|---|---|
|
CSS class
|
Sets the class attribute of the element. |
string |
|
|
|
|
Style attribute
|
Sets the inline style declaration of the element. |
string |
|
|
|
|
HTML element
|
Specifies which element is rendered. |
enum |
|
div |
div, span |
Example
Example 1
{gu-css-helper:style=padding: 10px; border:1px solid green}
Some Content
{gu-css-helper}
Print a border around content and set a padding
Example 2:
{gu-css-helper}{gu-button-add}{gu-css-helper}
Prints Theme Button floating right with an incorrect height of the box
{gu-css-helper:showBr=true}{gu-button-add}{gu-css-helper}
Prints Theme Button floating right with the correct height of the box