Re: [css2xslfo-support] [css2xslfo] flexible vertical spacing
Brought to you by:
wdonne
From: <wer...@re...> - 2006-03-06 09:17:32
|
Hi Andreas, This can be done as follows: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <div style="height: 100%"> <div style="height: 100%"> <p>A paragraph.</p> </div> <p>The end.</p> </div> </body> </html> I'm not entirely sure, however, that this is portable. It works fine with XEP and XSL Formatter, but not with Xinc or FOP, for example. There was a discussion about a similar case here http://www.renderx.net/lists/xep-support/4131.html. Best regards, Werner. Andreas Jung wrote: > We have the usecase where a document contains <div> at the end of the > text. This <div> should be aligned with the bottom of the last page > where it appear. So there must be a flexible vertical spacing between > the last text > before this <DIV> and the <DIV> itself. Is there a way to accomplish that? > > Regards, > Andreas > > > ----------------------- > | text text text text | > | text text text text | > | | > | | > | | > | | > | ------------------- | > | DIV goes here | > ----------------------- > > -- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |