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

Re: [FO] columns with borders

Subject: Re: [FO] columns with borders
From: "Eliot Kimber" <ekimber@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 May 2007 10:54:53 -0400
Re:  [FO] columns with borders
Kamal Bhatt wrote:
Hi
I want to create a page with 2 columns and a border around the 2 columns. All I seem to get is a border around each column, but not both columns. I don't want to use tables.

The only way I can think to do this is to put the border contents within a block that turns on borders, e.g.:


<fo:flow>
  <fo:block border="black 1p solid">
    <!-- actual content of flow goes here -->
  </fo:block>
</fo:flow>

The main challenge here would be if you need to do column spanning--spanning blocks must be direct children of fo:flow.

Otherwise, columns are not something you can put borders on directly, since they are simply a side effect of layout.

About the only other solution I can think of would be to use either background graphic for the page or one of the edge regions with an extent that encompasses the extent of the body region and draw boxes that will then be overlaid by the column content. This would result in invariant column boxes on each page.

Cheers,

Eliot

--
W. Eliot Kimber
Professional Services
Innodata Isogen
8500 N. Mopac, Suite 402
Austin, TX 78759
(214) 954-5198

ekimber@xxxxxxxxxxxxxxxxxxx
www.innodata-isogen.com

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.