HTML模板:如何在分页插入行后重复第一列的内容?

问题描述

我正在使用HTML模板进行PDF转换,正在使用。 我有一个问题:当连续的2.列闯入并在下一页继续(可以)但在1.列( 该行标题)在下一页上为空白,我需要在此处重复(请参见下面的图片代码)。

enter image description here

<table>
      <tr>
           <td>
               <div>
                     Main contact:
               </div>
           </td>
           <td>
                    NJ - general director </br>
                    SD - project support
           </td>
      </tr>   
      <tr>
           <td>
               <div>
                    project goal:
               </div>
           </td>
           <td>
                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,when an unkNown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries,but also th... . Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,when an unkNown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries
                    t of the printintypesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,but also the leap into electronic typesetting,remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.t of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
                    t of the printintypesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
                    t of the printinpesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
                </td>
            </tr>
            
            <tr>
                <td>
                    <div>
                        essential information:
                    </div>
                </td>
                <td>
                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,remaining essentially unchanged. It was popularised in the 1960s with the release of LetrasAldus PageMaker including versions of Lorem Ipsum.
                </td>
            </tr> 
            <tr>
                <td>
                    <div>
                        explanatory notes:
                    </div>
                </td>
                <td>
                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
                </td>
            </tr>  
</table>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)