Forum


Replies: 1   Views: 3828
Page break after html table
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by triona_seba  · 11-08-2012 - 20:20

Hello,

i am trying to achieve the following:

Step 1: Create a table in HTML
Step 2: Replace a placeholder with the HTML generated in Step 1
Step 3: Add a page break

Step 1 & Step 2 are fine; Step 3 instead is giving me a headache.

How can I realize this? I dont want to implement a difficult algorithm, because the table I am creating has dynamic content, so the height of the table is different from document to document.

Isnt there another way to achive this? Even if i play around with HTML like give the height of a div - element 100%, in the generated doc this CSS rule is ignored.

Could you please give me a hint?

Kind regards,

Sebastian