OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: 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:apply-templates mode="varlist-table"

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 
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 ?


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]