Miguel,

I'm a newbie, and I noticed a few things:

1. it looks to me like you've got to modify your table element like this:

  <fo:table table-layout="fixed">

Also, I'm not sure I've seen the "table-row" and "height" combination value yet.


At 04:18 AM 12/17/2002, you wrote:
Hi Oleg:

First of all thank you for your response. Before the right align I tried to
center the table using the next code:

<fo:table>
  <fo:table-column column-width="16cm"/>
  <fo:table-body>
  <fo:table-row height="23.7cm">
  <fo:table-cell display-align="center">
  <fo:block>
    <fo:table>
    <!-- Here the table I want to align -->
    </fo:table>
  </fo:block>
  </fo:table-cell>
  </fo:table-row>
  </fo:table-body>
</fo:table>
</xsl:template>

That you see I render a table with the same width of the page, but this code
doesn't work. What is the blid aproach to align the table right, with an
absolute position? I thought about that, but I'd like to build the PDF in a
structurated form. Can you show me an example of that approach?

Miguel Ángel Medina López

----- Original Message -----
From: "Oleg Tkachenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 1:00 PM
Subject: Re: Align tables

> Miguel Angel Medina Lopez wrote:
>
> > I'm newbie in FOP. I want to align a table at right of the page but I
can't.
> > I follow several examples from the list and other resources that should
> > centered the tables (to modify it after), but the examples doesn't work.
How
> > can I align the table?
> At the moment probably the only way to center or to right table in FOP is
> blind table approach, have you tried it?
>
> --
> Oleg Tkachenko

- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to