<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" style="xslt-mode" id="html.css.mode">
 <info>
  <link type="guide" xref="html" group="modes"/>
  <link type="guide" xref="modes" group="html"/>
  <desc>Output CSS specific to the input format.</desc>
  <revision version="1.0" date="2010-05-26" status="final"/>
 </info>
 <title>html.css.mode</title>
 <synopsis>
  <title>Parameters</title>
  <terms>
   <item>
    <title><code>$direction</code></title>
    <p>The directionality of the text, either <sys>ltr</sys> or <sys>rtl</sys>.</p>
   </item>
   <item>
    <title><code>$left</code></title>
    <p>The starting alignment, either <sys>left</sys> or <sys>right</sys>.</p>
   </item>
   <item>
    <title><code>$right</code></title>
    <p>The ending alignment, either <sys>left</sys> or <sys>right</sys>.</p>
   </item>
  </terms>
 </synopsis>
 <p>This template is called by <code xref="html.css.content">html.css.content</code> to output CSS specific to the
 input format. Importing stylesheets may implement this for any element that
 will be passed to <code xref="html.page">html.page</code>. If they do not, the output HTML will only have
 the common CSS.</p>
</page>
