Forum


Replies: 1   Views: 1869
Make table headers repeat on new page using embedhtml
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 admin  · 20-10-2020 - 09:40

Hello,

You can apply the following style to tr tags:

display:table-header-group;

to enable it. For example:

<style>
    .header-table {
        display:table-header-group;
    }
</style>
<table border="1" style="border-collapse: collapse" width="600">
  <tbody>
    <tr width="600" class="header-table">

Regards.