This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] variablelist.as.table
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Doug du Boulay" <ddb at owari dot msl dot titech dot ac dot jp>, <docbook-apps at lists dot oasis-open dot org>
- Date: Sun, 15 May 2005 23:13:21 -0700
- Subject: Re: [docbook-apps] variablelist.as.table
- References: <Pine.LNX.4.44.0505141616430.16777-100000@owari.msl.titech.ac.jp>
<col align="left" valign="top"> should work in all browsers. What browser
are you using. It does work in IE6, but it doesn't in Windows Firefox,
which displays with valign="middle". That's got to be a bug in Firefox, no?
There is a CSS for valign:
td { vertical-align: top; }
And that does work in Firefox.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Doug du Boulay" <ddb@owari.msl.titech.ac.jp>
To: <docbook-apps@lists.oasis-open.org>
Sent: Saturday, May 14, 2005 12:20 AM
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
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org