xsl-list
[Top] [All Lists]

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

2002-10-19 08:07:35

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



<Prev in Thread] Current Thread [Next in Thread>