How to create Dynamic Page Break in HTML?

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Mar 2006
Posts: 4
Reputation: jefferyylc is an unknown quantity at this point 
Solved Threads: 0
jefferyylc jefferyylc is offline Offline
Newbie Poster

How to create Dynamic Page Break in HTML?

 
0
  #1
Mar 5th, 2006
Hi ALL:

I been created a <page-break-after:always> 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:
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 764
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: How to create Dynamic Page Break in HTML?

 
0
  #2
Mar 6th, 2006
Page breaks in html... not good...
Could you export to pdf? php can be used to create pdfs.
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 4
Reputation: jefferyylc is an unknown quantity at this point 
Solved Threads: 0
jefferyylc jefferyylc is offline Offline
Newbie Poster

Re: How to create Dynamic Page Break in HTML?

 
0
  #3
Mar 6th, 2006
Originally Posted by DaveSW
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 ...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC