Re: [xsl] fo:table border
Subject: Re: [xsl] fo:table border|
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Sat, 16 Nov 2002 08:57:01 -0600
G. Ken Holman wrote:
At 2002-11-16 14:00 +0530, Satish Kumar.R- CTD, Chennai. wrote:
To output the table cell border I use
<fo:table-cell border-width="0.1mm" boder-style="solid">
for all table cells.
Since table cell borders overlap, some border is thicker than others.
Shouldn't be ... collapsed table borders are supposed to be coincident.
Why is that only few cell borders are thicker than others? Is there any
reason for this.
Sounds like an implementation problem.
While border-collapse="collapse" is the default defined in the FO spec,
at least one implementation, XEP, only supports
border-collapse="separate", so that becomes the effective default when
With "separate", coincident borders are all drawn, so if you have two
adjacent cells and the both specify borders, you will see both borders.
To create tables that will produce the same border result in all
implementations, you must specify per-edge borders on fo:table and
fo:table-cell. Note also that border specifications on fo:table-row,
fo:table-column, and fo:table-body are only rendered when
border-collapse is "collapse" or "collapse-with-precedence".
W. Eliot Kimber, eliot@xxxxxxxxxx
Consultant, ISOGEN International
1016 La Posada Dr., Suite 240
Austin, TX 78752 Phone: 512.656.4139
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list