0
我想我的html页面上打印内容页脚的底部,而打印
格式是
<div class="header">Title of the page</div>
<div class="main">Content of the page</div>
<div class="footer">Footer of the page</div>
<div class="page-break"></div>
<div class="header">Title of the page</div>
<div class="main">Content of the page</div>
<div class="footer">Footer of the page</div>
<div class="page-break"></div>
<div class="header">Title of the page</div>
<div class="main">Content of the page</div>
<div class="footer">Footer of the page</div>
<div class="page-break"></div>
所以有三个页面,页面是动态添加和这个CSS帮助我打破印刷时页面
.page.break{
page-break-after:always
}
问题是页脚出现在主div后面,我希望它始终处于页面底部。
任何帮助?
因此您只需要一个页脚? – DhruvJoshi
不,我想在每个页面的页脚。但是在每个页面的底部,而不是内容结束的地方 – 1Mayur