<hsc> has some limited support for CSS. Limited because it doesn't have a full stylesheet parser yet, which would allow syntax checks of <tg>STYLE</tg> sections. However, CSS specifications in `STYLE` attributes can be parsed, checked and merged already. The following features support CSS:

- The tag allows to define a new style property and optionally a list of legal values therefor. Properties specified in `STYLE` attributes will be checked against this list.
- The attributes added by the `GETSIZE/S` function are CSS by default if you use XHTML mode.
- Multiple `STYLE` attributes in a single tag will be merged into one. This can simplify the writing of macros where you want to supply a few default styles and let the user pass in additional ones: <$source pre>

- If the same CSS attribute was specified more than once for a single tag, <hsc> will issue a warning and use the value encountered last.

<* vi: set ts=4 expandtab: *>