Replies: 8   Views: 3948
Embed html and page-break-inside property
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 tutotours  · 09-09-2017 - 17:22

I tried your solution.

I added the lines in and I made an HTML like this that's repeated to test the behavior : 

<p style="page-break-inside: avoid;">
    Some text
        <li style="page-break-inside:avoid;">Item 1</li>
        <li style="page-break-inside:avoid;">Item 2</li>


I still have some page-breaks between li elements or between text and ol element.