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(_at_)innodata-isogen(_dot_)com
www.innodata-isogen.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--