7 ms·
@media print { .page, .page-break { break-after: page; } }
by teddy-smith 10mo ago
@media print {
.page, .page-break { break-after: page; }
}
- carlosjobim 10mo agoIt doesn't function in real use, it's just theoretical.
- teddy-smith 9mo agohttps://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/break-after https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P... Literally part of Mozilla's docs.
- carlosjobim 9mo agoThat's theory. Can you send me a link to any html file where this actually works? It's a problem I'd love to have solved. Edit to clarify: The break-after property works with the worthless print dialogues, but doesn't function with "Export to PDF", which is what most people will want to use.