首页 \ 问答 \ 分页不破(Page break not breaking)

分页不破(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

最满意答案

状态轮廓也可以在FusionTables中的自然地球数据集中获得,并且可以使用FusionTablesLayer覆盖:

墨西哥

智利


The state outlines are available in the Natural Earth Data set in FusionTables also and can be overlaid using a FusionTablesLayer:

Mexico

Chile

相关问答

更多
  • 您可以使用该国家的名称作为次要订购: 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