This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: vertical positioning of page contents in XSL FO
- From: Jeni Tennison <jeni at jenitennison dot com>
- To: "Lisa Rupe" <LRupe at questia dot com>
- Cc: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 15 Nov 2001 13:32:18 +0000
- Subject: Re: [xsl] vertical positioning of page contents in XSL FO
- Organization: Jeni Tennison Consulting Ltd
- References: <OF38CF9E53.9BF654C5-ON86256B04.0075BDC3@questia.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi Lisa,
> I think this should be a fairly easy one, but I can't find the
> property. You know how the start of a chapter usually starts about
> 1/3-1/2 of the way down the page? How can I set the page to
> vertically align at the bottom?
To vertically align at the bottom, you need to set the display-align
property on the fo:region-body formatting object to 'after'. That
aligns the content of the page to the bottom of the page, but if the
page can be filled up, then it will be completely filled up, so I'm
not sure that's what you want to do.
Instead, I think you want to set the margin-top of the fo:region-body
in the fo:simple-page-master used for the first page of the chapter to
33% or 50%, so that the region in which the content can be placed only
starts a third or half way down the page in the first place. Obviously
that means having different fo:simple-page-masters for different
pages, so you need to use a fo:page-sequence-master to control it.
I hope that helps,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list