[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: fo:table border

Subject: Re: fo:table border
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Sat, 16 Nov 2002 08:57:01 -0600
fo table border
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 using XEP.


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".

Cheers,

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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.