View Single Post
Old 02-28-2021, 09:20 AM   #1
franc
Connoisseur
franc began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Feb 2010
Device: none
page-break-after: always not working

Hallo

I made some experiments in an ebook's css-file (an epub) with the css property "page-break-after" and "page-break-before" like this:

Code:
...
.endofsite { 
	page-break-after: always;
	}
.beginofsite { 
	page-break-before: always;
	}
where I gave that class to a tag at the end (.endofsite) or the begin (.beginofsite) but never that makes any pagebreak in my ebook-Reader.
Tried it with calibre reader and MoonReader, neither are doing pagebreak.

Is there a way beside of creating a new html-file that my readers are doing a page break?

Thanks for hints.
frank
franc is offline   Reply With Quote