Wrap the block(s) in a block-container and use the display-align property: <fo:block-container display-align="center"> <fo:block text-align="center">Hello</fo:block> </fo:block-container>
Eric Amick Legislative Computer Systems Office of the Clerk -----Original Message----- From: Frank Niedermann [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 5, 2008 7:36 To: fop-users@xmlgraphics.apache.org Subject: Horizontal and Vertical Alignment with region-start Hi, I'm new to XSL-FO and I try to center a rotated text horizontally and vertically in the region-start area. This is the FO-file: <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master margin="0mm" page-width="70.0mm" page-height="38.0mm" master-name="kanban"> <fo:region-body background-color="#EEEEEE" margin-left="8mm"/> <fo:region-start reference-orientation="270" background-color="#DDDDDD" extent="8mm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="kanban"> <fo:static-content flow-name="xsl-region-start"> <fo:block text-align="center">Hello</fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block>World</fo:block> </fo:flow> </fo:page-sequence> </fo:root> The rotated text is centered horizontally (from text view) but not vertically. What do I need to add to center vertically and horizontally? Thanks, Frank -- View this message in context: http://www.nabble.com/Horizontal-and-Vertical-Alignment-with-region-star t-tp20340905p20340905.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]