分页不破(Page break not breaking)
我想要分页,但它不起作用。 我试图发布整个代码,但它超过了字符数。 我想知道什么可能导致分页不起作用。
@media print { div.pagebreak { display: block !important; page-break-after: always; } .dontprint{ display : none } body{ display: block; } }
<tr ><td><div class="pagebreak"></div></td></tr>
I want to have page break but it is not working. I tried to post the whole code but it exceed number of characters. I wanted to know what may cause page break not to work.
@media print { div.pagebreak { display: block !important; page-break-after: always; } .dontprint{ display : none } body{ display: block; } }
<tr ><td><div class="pagebreak"></div></td></tr>
原文:https://stackoverflow.com/questions/38388148
更新时间:2023-01-31 13:01
最满意答案
相关问答
更多-
您可以使用该国家的名称作为次要订购: return countries.OrderBy(c => GetPrimaryOrdering(c)).ThenBy(c => c.Name); int GetPrimaryOrdering(Country country) { return country.Name == "USA" ? 0 : 1 } You can use the country's name as a secondary ordering: return countries.O ...
-
嗨艾哈迈德, 请看下面的代码。 我重写了代码并修改了多个选择无论如何我忽略了javascript验证。 请继续这个,这个页面的名字是form3.php