|
|
Adds the given style to the element, either by adding a style rule to the 'css' placeholder or by ading an inline style attribute.
Syntax
| Smartsite SXML |
|
|---|---|
string html.style(string elementId, string cssText) |
|
Parameters
Return Value
| Data Type | Description |
|---|---|
| String | Inline style attribute (if the 'css' placeholder does not exist) or an empty string. |