|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Status of display-alignI need to push a block to the bottom of the page. In 0.94 I've tried display-align="after" on a block-container with either height="100%" or block-progression-dimension="100%", and on a table-row. These don't seem to work.
What is the recommended procedure, if any, for achieving this in 0.94 (or 0.95beta)? |
|
|
Re: Status of display-alignI'd recommend space-before:
<fo:flow flow-name="xsl-region-body"> <fo:block>Hello World!</fo:block> <fo:block space-before.optimum="30cm" space-before.minimum="0mm">This block is aligned at the bottom of the page!</fo:block> </fo:flow> You make the optimum space-before quite big but allow it to shrink. The layout algorithm will do the rest. Unfortunately, using percentages in block-progression-direction doesn't work reliably, yet (as you noticed). So you can't specify space-before.optimum="100%". The spec also says: "Percentages: N/A (Differs from margin-bottom in CSS)". Just use a "big" absolute length. Furthermore, there are the display-align extensions proposed by Luca Furini a few years ago. But I don't think this works anymore because we don't test for it. HTH On 18.07.2008 02:38:28 Peter B. West wrote: > > I need to push a block to the bottom of the page. In 0.94 I've tried > display-align="after" on a block-container with either height="100%" or > block-progression-dimension="100%", and on a table-row. These don't seem to > work. > > What is the recommended procedure, if any, for achieving this in 0.94 (or > 0.95beta)? > -- > View this message in context: http://www.nabble.com/Status-of-display-align-tp18520672p18520672.html > Sent from the FOP - Users mailing list archive at Nabble.com. > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Status of display-alignJeremias,
Your hopes were realised. On my first attempt I put, automatically, space-before.maximum and space-before.minimum. I took me a lot of fiddling around in the wrong places before I read this message again more carefully. Thanks, Peter
|
| Free Forum Powered by Nabble | Forum Help |