You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Corinna Hischke <co...@infix.de> on 2001/11/28 12:49:54 UTC

Re: problem : centered table in FO [FAQ]

Hi,

please have a look at the FOP FAQs, I think the solution should be in there:

- create a table as large as the page-body with only one cell
- put your table into the block inside that cell
- center the block in that cell

HTH, Corinna
  ----- Original Message ----- 
  From: Cyril Rognon 
  To: fop-dev@xml.apache.org 
  Sent: Tuesday, November 27, 2001 2:25 PM
  Subject: problem : centered table in FO



  Hi list,

  I am looking for a way to center a table (not the data in the table cells) in a page.

  I have tried to set padding and margin to a surrounding block but FOP doesn't pay attention to this...

  I have also tried a start-indent but it changes nothing. I am using FOP 0.20.2RC.

  What am I doing wrong ?

  Thanks

  Cyril Rognon