Since V0.929, hsc has had 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 STYLE
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 STYLE
attributes will be checked
against this list.GETSIZE/S
function are CSS by default if you use XHTML mode.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:
<p STYLE="text-align:justify" STYLE?=STYLE>