xsl-list
[Top] [All Lists]

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

2002-10-21 01:48:18
One point, this 'centering' is within the area, the block container?
Not in the page. I guess that means your slides are 170mm high?

Is that what was wanted?

Works in AH too.

regards DaveP


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


- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

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



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