View Single Post
Old 03-09-2017, 08:50 AM   #8
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by ibu View Post
I like to find out, for example, if there's any way to realize
h2 {page-break: before}
in a EPUB3 in a Kobo H2O.
There are some notes on KePub CSS here. (EPD refers to the KePub reader on e-ink devices.)

The best way to cope with the lack of support for page-break-before: always; in KePubs is just to split the html file at that point, there will always be a page break between files. This also has the benefit of reducing memory use, and is worth doing even in ePubs instead of using page-break-before: always; because the ePub reader performs much better with small files.

Edit: The bigger problem is the lack of support for page-break-after: avoid; in KePubs. I don't know of any way to get around that.

Last edited by GeoffR; 03-09-2017 at 08:57 AM. Reason: page-break-after: avoid;
GeoffR is offline   Reply With Quote