|
|
#1 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 854254
Join Date: Nov 2016
Device: none
|
{A1} Prevent tables and sentences cut off?
hallo,
Does anybody know how to force a block of text or a table to be displayed from its first line into a new page? Some times I don't care whether a part of the text is being broken and displayed on a new page. What I do care is whether a certain paragraph, table or picture starts on a new page from the beginning. Is there a way to do this? danke!! |
|
|
|
|
|
#2 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,831
Karma: 174631406
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 854254
Join Date: Nov 2016
Device: none
|
Quote:
Where should I place the 'page-break-before' inside a <p>, <span>, <div>, <table>, combination of <br \>, ...??? I'd appreciate some examples. danke!! |
|
|
|
|
|
|
#4 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Code:
.page_break {page-break-before: always;}
Code:
<p class="page_break">This might be on a new page.</p> |
|
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
The ePub reader obeys page-break-before:always, the KePub reader ignores it.
Another way to force a page break before the table, which will work on all readers, is to split the html file at the table so that the table starts at the beginning of a new file. |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to prevent tables from being cut off? | pluma | ePub | 0 | 12-20-2016 04:36 PM |
| Help with a kindle book that the sentences are cut off. | Red Falcon | Conversion | 1 | 04-21-2013 01:49 AM |
| sentences | boniface198 | Conversion | 4 | 09-07-2011 08:25 AM |
| Gen3 Words "falling off" the screen / sentences cut off (mobipocket) | Spektakel | Bookeen | 6 | 04-18-2010 12:26 AM |