colorsection
[colorsection(, style)]
…
[colorsectionend]
with keys
[colorsection(, style=)]
…
[colorsectionend]
Create coloured layer to hold objects.
Parameters
style - optional parameter specifying css-styles to be applied to this layer
See Also
css-styles[section]Changes
1.37 - accepts key=value pairs as parameters
Examples
Example#1 plain colorsection
[colorsection]
[heading,Section Heading]
centered body text
[colorsectionend]
Output:
Section Heading
centered body text
Example#2 left aligned text colorsection
[colorsection, text-align:left;]
[heading,Section Heading]
left aligned body text
[colorsectionend]
Output:
Section Heading
left aligned body text
Example#3 left aligned & padded text colorsection
[colorsection,text-align:left; padding-left:10%; padding-right:10%;]
[heading,Section Heading]
left aligned body text
[colorsectionend]
Output:
Section Heading
left aligned body text
Notes
The CSS spelling of "color" is used throughout the system.