In some cases NuWiki BBCodes support the use of CSS Styles to modify their appearance.
These BBCodes include: DIV, SPAN, TABLE, TR and TD.
The string containing the CSS Styles follows the same rules and attributes specified in the CSS Standard. With the addition of another attribute named "class", which allows the use of CSS classes.
For instance, the following BBCode:
Code:
[table=class:tborder;]
[tr]
[td=class:alt1; padding:5px;]this is a cell with alt1 class[/td]
[td=class:alt2; padding:5px; color: red;]this is a cell with alt2 class[/td]
[/tr]
[/table]
Will be rendered like this:
| this is a cell with alt1 class | this is a cell with alt2 class |