View Single Post
Old 03-11-2019, 06:38 AM   #6
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by DropDeadAlex View Post
Hello guys!

I've researched a lot and tried so many ways, but I didn't find a way to use the CSS "page-break-before: always" property in a book in AZW3 format.

It would help if you cited the CSS and the HTML that uses it.

e.g.

.mbp_pagebreak {page-break-after: always; margin: 0; display: block}
Note this is page-break -after.

I think that is more reliable and the way mobis are usually coded.

invoked in a stand-alone line like
<div class="mbp_pagebreak"></div>


The Calibre viewer (ebook-viewer.exe) is useful to inspect mobi and AZW.
It's not a perfect previewer, but lets you select and "Inspect" text to see the underlying code and its interactions and change it to see the results, so you can work out if some other code has negated what you wanted.
AlanHK is offline   Reply With Quote