User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 375,245 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,225 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 8319 | Replies: 2
Reply
Join Date: Mar 2006
Posts: 4
Reputation: jefferyylc is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jefferyylc jefferyylc is offline Offline
Newbie Poster

How to create Dynamic Page Break in HTML?

  #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:
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2004
Location: Wales
Posts: 735
Reputation: DaveSW is on a distinguished road 
Rep Power: 6
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: How to create Dynamic Page Break in HTML?

  #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  
Join Date: Mar 2006
Posts: 4
Reputation: jefferyylc is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jefferyylc jefferyylc is offline Offline
Newbie Poster

Re: How to create Dynamic Page Break in HTML?

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 4:40 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC