Programmatically turn page breaks on and off

Soldato
Joined
22 Oct 2004
Posts
9,086
Location
Berkland
Hi People...

Basically i have a page that is only ever going to be displayed in IE (using the webbrowser control within a programme). On this page i would like to use 'page-break-after: avoid' but as this is not implemented i am try to go about it differently.

Is it possible to do something along the lines of this...


<div style="page-break-after: expression(are we in the bottom eigth of the page?'always':'auto')">



Can this work, oh and i also need help with the bit in bold and italics.

Many Thanks!
 
Back
Top Bottom