This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Setting HTML Colwidths
- From: Phil Weston <phil700 at xmsg dot com>
- To: Bob Stayton <bobs at sagehill dot net>, <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 6 Feb 2004 17:32:30 +0000
- Subject: Re: [docbook-apps] Setting HTML Colwidths
- Reply-to: phil700 at xmsg dot com
Cheers Bob
That certainly seems to work though it seems to work best if you insert the code just after the "<xsl:if test="$table.borders.with.css != 0">" block...
MSWord being MSWord, it doesn't like the space in the html produced by "<xsl:text>width: </xsl:text>" but that's easily remedied too.
It seems I also need need to specify the full table width also. As in:
<table style="width:12cm; border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; ">
Word doesn't like using "pt"s either - "cm"s work best but again that's easily remedied (for me).
I guess there must be a routine for calculating the total of all the colspec.colwidths... Is there somewhere where these things are listed so I can track them down?
P.
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.