This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] variablelist.as.table


In docbook-xsl-1.66.0/html/lists.xsl/<xsl:template match="variablelist">
and working with  variablelist.as.table set to  1 
there is a section of code:

          <col align="left" valign="top">
            <xsl:if test="$term-width != ''">
              <xsl:attribute name="width">
                <xsl:value-of select="$term-width"/>
              </xsl:attribute>
            </xsl:if>
          </col>
          <tbody>
            <xsl:apply-templates mode="varlist-table"
              select="varlistentry
                      |comment()[preceding-sibling::varlistentry]
                      |processing-instruction() 
                      |[preceding-sibling::varlistentry]"/> 
          </tbody>

I think the <col> attribute valign="top" may be misplaced and would
actually be better positioned as a <tbody> attribute inherited by the
table rows and cells. 

As it is, the <term>s are vertically centred, so if you have long wrapping 
<listitem>s its difficult to identify where one <varlistentry> starts and 
the
previous one finishes. With valign="top" it would be obvious.

I was a bit surprised that CSS doesn't seem to provide a configuration for 
valign of a table cell body. Maybe I missed something ?

Thanks
Doug


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]