hsc has some limited support for CSS. Limited because it
doesn't have a full stylesheet parser yet, which would allow syntax checks of
<STYLE> sections. However, CSS specifications in
attributes can be parsed, checked and merged already. The following
features support CSS:
<$defstyle>tag allows to define a new style property and optionally a list of legal values therefor. Properties specified in
STYLEattributes will be checked against this list.
GETSIZE/Sfunction are CSS by default if you use XHTML mode.
STYLEattributes 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:
<p STYLE="text-align:justify" STYLE?=STYLE>