[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: FO: Vertical alignment in <fo:flow>

Subject: Re: FO: Vertical alignment in <fo:flow>
From: David Tolpin <dvd@xxxxxxxxxxx>
Date: Sat, 19 Oct 2002 20:07:35 +0500 (AMST)
xsl fo vertical alignment
> 
> I wonder what the principles are for vertical alignment in <fo:flow>. I'm
> making presentation slides and would like the content, which is often just
> a couple of words per slide, center aligned both horizontally and
> vertically. My first idea was something like this:
> 
> <fo:flow>
>   <fo:block-container
>     text-align="center"
>     display-align="center"
>     height="170mm">
>     ...
>   </fo:block-container>
> </fo:flow>
> 
> But neither height nor display-align seem to makes any difference here. Is
> this what absolute-position="fixed" is meant for? Can anyone give an
> example of which properties are involved?

Gustaf,

the markup requires that this particular block-conteiner is 170mm in height
and its content is centered in both vertical and horizontal directions. 
If height does not work, then you are using a processor that does not support
this attribute. XEP v3 supports it. XEP v2 didn't.

David

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.