I know that there're lots of questions on this topic, but I still could not find a working solution. So, here's my html:
<div class="row">
<div class="col-xs-12">
<div class="row print-break">
<div class="col-xs-8 col-xs-offset-2">
<!-- Some Content -->
</div>
</div>
<div class="row print-break">
<div class="col-xs-8 col-xs-offset-2">
<!-- Some Content -->
</div>
</div>
<div class="row print-break">
<div class="col-xs-8 col-xs-offset-2">
<!-- Some Content -->
</div>
</div>
</div>
</div>
And css:
@media print {
.print-break {
page-break-after: always;
page-break-inside: avoid;
}
}
And it happens that Firefox insert page breaks properly; Chrome and Safari doesn't.
Do anyone know how to overcome this? Or where am I possibly wrong?