I have generated a long report which displays via HTML. The users want to print the report (using the browser print). They also want page breaks at certain points in the printed document.
I have only the faintest idea how to force a page break in HTML. It has something to do with the CSS2 tag "page-break-before" (or "after"). But I can't get it to work. Here's what I've tried:
Please tell me if there's a way, and how, to insert code into HTML which will force a page break when the page is printed.Code:<style type='text/css'> .new {page-break-before} </style> <span class="new"> Title1 </span> print out lots of info... <span class="new"> Title2 </span> Etc.
Thanks in advance.
-Jeff


Reply With Quote
Bookmarks