Re: [XSL-FO] Re: Aligning a table in XSL-fo
- At 2002-08-09 09:20 +0000, narinder_g wrote:
>Use a fo:block to hold your fo:table, and in the fo block putThis is incorrect usage of XSL-FO and will not work in a conforming processor.
>attribute text-align="right", center or left..
As I understand it, in the context of a block, a nested table does not
react to the text alignment. Which processor is giving you the behaviour
you are quoting above?
>ByeI posted working fragments of two approaches to centring a table here:
>--- In XSL-FO@y..., "asgorath02" <Asgorath@d...> wrote:
> > Hi,
> > I'm pretty new to writing XSL-FO and was wondering if there is
> > to align a table or set the position of a table in XSL-FO. Much
> > how you can set <table align="right"> in HTML, or perhaps something
> > where I can tell a table in mm where on the page it should appear.
You can either use <table-and-caption> with text-align= on any table or you
can play with the start-indent= and the width of a table with fixed layout.
I can't think of any other way, and I cite chapter and verse in those posts
of the basis of my understanding.
I hope this helps.
Upcoming hands-on in-depth 3-days XSLT/XPath and/or 2-days XSL-FO:
- North America: Sep 30-Oct 4,2002
- Japan: Oct 7-Oct 11,2002
G. Ken Holman mailto:gkholman@...
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6 Definitive XSLT and XPath
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1 Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed),
articles, training (instructor-live,Internet-live,web/CD,licensed)
Next public training: 2002-08-05,26,27,09-30,10-03,07,10
- --- In XSL-FO@y..., "G. Ken Holman" <gkholman@c...> wrote:
> At 2002-08-09 09:20 +0000, narinder_g wrote:processor.
> >Use a fo:block to hold your fo:table, and in the fo block put
> >attribute text-align="right", center or left..
> ><fo:block text-align="right">
> This is incorrect usage of XSL-FO and will not work in a conforming
> As I understand it, in the context of a block, a nested table does
> react to the text alignment. Which processor is giving you thebehaviour
> you are quoting above?Sorry I was wrong, but here is a way you can try..