You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Stephen Clarke <an...@longusername.worldonline.co.uk> on 2002/02/12 16:27:48 UTC
text-align centered not working?
Hi,
I keep getting "Unknown enumerated value for property 'text-align'
centered."
Is it true. Does FOP not support the centering of text? Here's my code.
<fo:static-content flow-name="xsl-region-after">
<fo:block font-weight="bold" font-size="10pt"
font-family="Arial, Helvetica, sans">
<fo:inline font-style="italic" text-align="start">
The XML Bible
</fo:inline>
<fo:inline text-align="centered">
Page <fo:page-number/>
</fo:inline>
<fo:inline text-align="right">
Chapter 18: XSL Formatting Objects
</fo:inline>
</fo:block>
</fo:static-content>
--
Best,
Stephen Clarke
Re: text-align centered not working?
Posted by Magnus Sjöberg <ma...@secode.com>.
Use "center" instead ;-)
///Magnus
Stephen Clarke wrote:
>
> Hi,
> I keep getting "Unknown enumerated value for property 'text-align'
> centered."
> Is it true. Does FOP not support the centering of text? Here's my code.
>
> <fo:static-content flow-name="xsl-region-after">
> <fo:block font-weight="bold" font-size="10pt"
> font-family="Arial, Helvetica, sans">
> <fo:inline font-style="italic" text-align="start">
> The XML Bible
> </fo:inline>
> <fo:inline text-align="centered">
> Page <fo:page-number/>
> </fo:inline>
> <fo:inline text-align="right">
> Chapter 18: XSL Formatting Objects
> </fo:inline>
> </fo:block>
> </fo:static-content>
>
> --
> Best,
> Stephen Clarke