]> granicus.if.org Git - docbook-dsssl/commitdiff
Make qandaset layout table compatible with html5.
authorBob Stayton <bobs@sagehill.net>
Sat, 12 May 2012 23:29:36 +0000 (23:29 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 12 May 2012 23:29:36 +0000 (23:29 +0000)
xsl/html/qandaset.xsl

index 13e6f09a3e2699a871480054a64f51ca739c551e..b8bc2f9ec8c279c4278cd6dd5607adeb8601ad80 100644 (file)
     <xsl:call-template name="pi.dbhtml_cellspacing"/>
   </xsl:variable>
 
-  <table border="0" width="100%" summary="Q and A Set">
+  <table border="{$table.border.off}">
+    <xsl:if test="$css.decoration != 0">
+      <xsl:attribute name="style">width: 100%;</xsl:attribute>
+    </xsl:if>
     <xsl:if test="$table-summary != ''">
       <xsl:attribute name="summary">
         <xsl:value-of select="$table-summary"/>