That'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.
@media print { .page, .page-break { break-after: page; } }
It doesn't function in real use, it's just theoretical.
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...
Literally part of Mozilla's docs.
That'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.