I have a block that I am using in the bottom corner of my page. In this I want 
to display a page number.

The block is a square and I would like to center the page number so that if the 
number of digits increases it stays cenrtal. 

Here is what I have so far:

<fo:block border="solid" left="0mm" margin-right="-25mm" margin-top="5mm"  
padding-before="4mm" padding-after="10mm" margin-left="150mm" 
background-color="#797166" color="#2A2A2A">
<fo:inline border="solid" margin-right="3mm" font-weight="bold" 
margin-top="10mm" color="#ffffff" font-size="14pt">
        <fo:page-number padding-start="4.5mm" border="solid" />
</fo:inline>
</fo:block>

But this doesn't centre the content.

Can anyone offer me some tips on this.

thanks

Andy R

--
This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com
http://www.opensubscriber.com/messages/fop-users@xmlgraphics.apache.org/topic.html

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

Reply via email to