View Single Post
Old 06-04-2021, 10:21 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,518
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Am confused, if you dont want the h2 at the bottom why not just put a page break before it?

h2 { page-break-before: always }

and page-break-inside requires a container to apply to the inside of it, so if you want to use it you have to wrap the stuff you want to use it on in a div
kovidgoyal is offline   Reply With Quote