Click to See Complete Forum and Search --> : Simulate page brakes
1ogic
05-23-2003, 08:52 AM
Is there a Java Script that can be used to simulate page brakes? I generate a lengthy report in html, each page of the report has a header and footer with slight variations in the middle. Until now I have added extra spaces in the report to try to mach the printer size. This method is clumsy. Any ideas? Thanks.
Vladdy
05-23-2003, 08:59 AM
No Javascipt needed:
http://www.w3.org/TR/REC-CSS2/page.html
1ogic
05-23-2003, 10:29 AM
Thanks! I thought of that but wasn’t sure if all browsers supported it. I thought that some type of script might be more robust. Though, I doubt any script could beat the ease of coding the Paged media. Thanks again.