【发布时间】:2011-10-23 05:01:39
【问题描述】:
我正在制作打印 css... 我想将某些块作为一个整体打印,因此我使用了“page-break-inside:避免”。但这似乎不起作用。
我一直在拼命寻找解决方案...我使用谷歌浏览器
.print-block
{
display: block;
page-break-inside: avoid !important;
margin-bottom: 10px;
padding-bottom: 5px;
border-bottom: 1px dashed black;
}
这是 CSS,我正在使用...
【问题讨论】:
标签: html css printing reporting page-break