]> granicus.if.org Git - docbook-dsssl/commitdiff
Use a div for the attribution so that it can be styled better with CSS
authorNorman Walsh <ndw@nwalsh.com>
Thu, 8 May 2003 12:07:04 +0000 (12:07 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 8 May 2003 12:07:04 +0000 (12:07 +0000)
xsl/html/block.xsl

index 37a69aa0b8162143a9aa2f14be2b15edc59c5d0d..ab314b9066a25f22872eebd79877c2784a0d2907 100644 (file)
 <xsl:template match="epigraph">
   <div class="{name(.)}">
       <xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
-    <span>--<xsl:apply-templates select="attribution"/></span>
+    <div class="attribution">
+      <span>--<xsl:apply-templates select="attribution"/></span>
+    </div>
   </div>
 </xsl:template>