xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andyrob_2...@yahoo.com
Subject Centering content in Block
Date Wed, 09 Aug 2006 14:03:11 GMT
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 andyrob_24_7@yahoo.com at openSubscriber.com
http://www.opensubscriber.com/messages/fop-users@xmlgraphics.apache.org/topic.html

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message