Page numbers work fine, but they appear a bit too low on the page (too close to the page border). This is what i do:

<fo:root font-family="TimesNewRoman">
<fo:layout-master-set> <fo:simple-page-master master-name="my-page"> <fo:region-body margin="1in"/> <fo:region-after region-name="footer" extent="11in"
display-align="after"/>
   </fo:simple-page-master>
 </fo:layout-master-set>
 ... etc

I've played around with adding and changing attributes, but the page number doesn't change a millimeter from its place. How come?

I would say the reason for the contents of the region-after appearing too close to the bottom of the page is that you have display-align="after" on the region-after which pushes the content to the bottom of the region AND no margins defined on your page master. In a typical XSL-FO document, margins are placed on the fo:simple-page-master element to ensure that no content is placed outside of a Printer's Printable bounds. For example;

<fo:simple-page-master master-name="my-page" margin="5mm">
      <fo:region-body margin="1in"/>
<fo:region-after region-name="footer" extent="11in" display-align="after"/>
</fo:simple-page-master>


<snip/>

Chris




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

Reply via email to