|
|
#1 |
|
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Nov 2025
Device: none
|
About page-break
page-break-after
page-break-before page-break-inside How well are they supported in epub3 and 2 now? I have used them in some case but they tend to fail. The only certain way I know to let content start in a new page is creating a new xhtml file. But some web novel can have 1000 chapters, it's tedious to have 1000 xhtml files. So how well are they work exactly now? How can I guarantee a page break? |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,744
Karma: 9501034
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Those tags are deprecate:
https://developer.mozilla.org/en-US/...e-break-inside Should use: https://developer.mozilla.org/en-US/...s/break-inside Though the Libra2 does not recognise the newer tag and still prefers the deprecated tag. Use both tags in your CSS. Something like this... .nopagebreak { break-inside: avoid; page-break-inside: avoid; } |
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,554
Karma: 150265873
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#4 |
|
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Nov 2025
Device: none
|
The tutorial I see is so old...
I'm going to try break before and after later. Thank you. |
|
|
|
|
|
#5 |
|
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Nov 2025
Device: none
|
|
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Nov 2025
Device: none
|
Quote:
At least in Sigil's readium plugin. Does this have something to do with the plugin? Or it will happen in other readers out there? |
|
|
|
|
|
|
#7 |
|
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Nov 2025
Device: none
|
And more test, yes, lot's of reader software does not work. Some do though.
Why it is so hard to put such basic and simple function to work? |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| page-break-before: always; | avresbo | Kobo Reader | 1 | 03-02-2023 09:30 AM |
| Do you use page-break-after and page-break-inside? | fluoresce | ePub | 14 | 05-24-2017 02:57 AM |
| No page break for H2 | RickAltman | Calibre | 2 | 06-25-2012 12:02 PM |
| PAGE BREAK | JFS-NMF | Recipes | 0 | 03-04-2011 10:15 AM |
| Page break before <b> | flowoeB | Calibre | 14 | 04-12-2009 04:05 PM |