Craigieboy
Programmer
Hi all
I'm hoping someone could offer guidance on an IE page break issue I have.
I am producing a report in the browser which is dynamically built from a number of database tables. There is a "front" sheet which is generally fixed in size and will not spill onto a second page. At the foot of this page I insert a page break and begin building my second page.
This is now where my problems begin. This second page could be any length, and crucially contains many blocks of text of any size. My issue is that the business unit at my company does not want a block of text splitting over multiple pages. So my code needs to be intelligent enough to recognise that a block is split, then insert the page break at the start of the block. If there are several blocks of text then a page break could, in effect, fall over any of the blocks of text, so at no stage am I ever going to know which block wil have a break in it.
Is there any way I can add this "intelligent" page breaking?
I have made every effort to use styles page-break-before, page-break-after, etc, etc.
Many thanks in advance,
Craig
I'm hoping someone could offer guidance on an IE page break issue I have.
I am producing a report in the browser which is dynamically built from a number of database tables. There is a "front" sheet which is generally fixed in size and will not spill onto a second page. At the foot of this page I insert a page break and begin building my second page.
This is now where my problems begin. This second page could be any length, and crucially contains many blocks of text of any size. My issue is that the business unit at my company does not want a block of text splitting over multiple pages. So my code needs to be intelligent enough to recognise that a block is split, then insert the page break at the start of the block. If there are several blocks of text then a page break could, in effect, fall over any of the blocks of text, so at no stage am I ever going to know which block wil have a break in it.
Is there any way I can add this "intelligent" page breaking?
I have made every effort to use styles page-break-before, page-break-after, etc, etc.
Many thanks in advance,
Craig