954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to create Dynamic Page Break in HTML?

Hi ALL:

I been created a for page break purpose in printing HTML report in order to break the report.
But unluckily i found that what i did is known as "hard coded". They want something called "Dynamic Page Break" so that when the report content can automatically fit the A4 paper size (210*297mm), and so the user can choose to print whatever page they want. (page number will be showed after each page break). Do anyone can help me or provide some idea? Mayb i think that that's only way is to use javascript to test the height of report elements. I'm just a trainee in company, and i try for this almost 2 weeks but still can't get to find any solutions.
I do really appreciate if there's someone expert will help. Thanks a lot! :eek:

jefferyylc
Newbie Poster
4 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
 

Page breaks in html... not good...
Could you export to pdf? php can be used to create pdfs.

DaveSW
Master Poster
769 posts since Jul 2004
Reputation Points: 54
Solved Threads: 20
 
Page breaks in html... not good... Could you export to pdf? php can be used to create pdfs.

-The only way i can do is using Page Break in HTML. The others method was rejected. so someone who knw pls share it. I appreciate it. TQ ...

jefferyylc
Newbie Poster
4 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You