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

Re: FO: gap between cells in a table

Subject: Re: FO: gap between cells in a table
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 Oct 2008 08:31:39 -0400
Re:  FO: gap between cells in a table
At 2008-10-21 11:50 +0200, Florent Georges wrote:
  I have to design a table in XSL FO, and the client would like
to have the overall layout like in the following image:

http://www.fgeorges.org/tmp/table-headers.png

Looks to me like tables without gaps inside of table cells of a table with gaps.


  My question is about the gap between some of those cells (in
this image between "sub-tables" A, B, C and D, and the cell "Type
of activity".)  While in the "sub-tables" the borders should be
collapsed.

What is the best approach for this problem?

I would implement the sub-tables as individual tables.


  I thought to use a table with a gap between its cells and
without borders collapsing, its cells being sub-tabels which have
border-collapse="collapse".  Do you think it is a good idea?

Yep!


Is there something easier?  What is the easiest way to set the gap
width between the sub-tables?

Since gaps are table-wide properties, I think embedding tables is best, and I haven't seen any tool support problems with embedded tables.


I hope this helps.

. . . . . . . . . . . Ken

--
Upcoming XSLT/XSL-FO hands-on courses:      Wellington, NZ 2009-01
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video sample lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg
Video course overview:  http://www.youtube.com/watch?v=VTiodiij6gE
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

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.