Miguel,
(SORRY for the double-post, I guess I had an itchy "SEND" button & sent it too soon)
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">
2. Also, I'm not sure I've seen the "table-row" and "height" combination value yet (although I don't know if that's an issue.
3. Most importantly, according to the excellent XSL-FO book "XSL-FO: Making XML Look Good in Print" from O'Reilly, 'display-align="center"' will do a vertical alignment of "center" within a cell.
Unfortunately, the horizontal alignment is a bit misleading. According to the book, if you want it aligned horizontally, you need to use 'text-align="right"' (since you want to right-align the contents).
I think that's misleading, because it's not just text you're trying to align. Someone please correct me if I'm wrong.
Web Maestro Clay 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?
Thank you
------------------------------------------------------------- Miguel Ángel Medina López Logic Factory: www.logic-factory.com Granada - España
----- 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 > eXperanto team > Multiconn Technologies, Israel > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]