This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] variablelist.as.table
- From: Doug du Boulay <ddb at owari dot msl dot titech dot ac dot jp>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Sat, 14 May 2005 16:20:33 +0900 (JST)
- Subject: [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