You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by David Gerdt <Dg...@bju.edu> on 2008/10/09 16:14:07 UTC

break-before problem

Can anyone help me see why these pages are being rendered on top of one another? 
 
Each table is in a block-container. The first block-container has break-before="page", the second block container, break-before="auto". They continue on like this in alternating fashion so that every other block-container has break-before="page".
 
I've done simple tests to demonstrate that the break-before pattern I'm using does give me page breaks where I intend, but for some reason it's not working when I try to apply the technique to the document here.
 
Anyone spot my error. Any help is greatly appreciated.
 
Dave

Re: break-before problem

Posted by David Gerdt <Dg...@bju.edu>.
I figured it out.
 
Because the blocks were positioned absolutely, the breaks set on them didn't get applied to the normal flow of the document.

>>> "David Gerdt" <Dg...@bju.edu> 10/9/2008 10:14 AM >>>
Can anyone help me see why these pages are being rendered on top of one another? 
 
Each table is in a block-container. The first block-container has break-before="page", the second block container, break-before="auto". They continue on like this in alternating fashion so that every other block-container has break-before="page".
 
I've done simple tests to demonstrate that the break-before pattern I'm using does give me page breaks where I intend, but for some reason it's not working when I try to apply the technique to the document here.
 
Anyone spot my error. Any help is greatly appreciated.
 
Dave