Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-27-2017, 04:42 PM   #1
pluma
Enthusiast
pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.
 
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!!
pluma is offline   Reply With Quote
Old 01-27-2017, 05:22 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 44,523
Karma: 167912829
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by pluma View Post
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!!
Not sure if this works on a Kobo ereader but have you tried using the CSS page-break-before property to force a new page?
DNSB is offline   Reply With Quote
Advert
Old 01-27-2017, 06:32 PM   #3
pluma
Enthusiast
pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.pluma ought to be getting tired of karma fortunes by now.
 
Posts: 48
Karma: 854254
Join Date: Nov 2016
Device: none
Quote:
Originally Posted by DNSB View Post
Not sure if this works on a Kobo ereader but have you tried using the CSS page-break-before property to force a new page?
Thanks for the quick response, but would you care to elaborate how to use it? I am really desparate with this as I've got everything broken.

Where should I place the 'page-break-before' inside a <p>, <span>, <div>, <table>, combination of <br \>, ...???

I'd appreciate some examples.

danke!!
pluma is offline   Reply With Quote
Old 01-27-2017, 07:54 PM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by pluma View Post
Thanks for the quick response, but would you care to elaborate how to use it? I am really desparate with this as I've got everything broken.

Where should I place the 'page-break-before' inside a <p>, <span>, <div>, <table>, combination of <br \>, ...???

I'd appreciate some examples.
It is a CSS style attribute. You need to apply it to the tag of interest. I would create a style and put it on the tags of interest. So, in the stylesheet:

Code:
.page_break {page-break-before: always;}
And in the code:
Code:
<p class="page_break">This might be on a new page.</p>
But, I have no idea whether either of the book renderers on the Kobo respect this. I usually strip these out.
davidfor is offline   Reply With Quote
Old 01-27-2017, 08:17 PM   #5
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
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.
GeoffR is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent tables from being cut off? pluma ePub 0 12-20-2016 03:36 PM
Help with a kindle book that the sentences are cut off. Red Falcon Conversion 1 04-21-2013 12:49 AM
sentences boniface198 Conversion 4 09-07-2011 07:25 AM
Gen3 Words "falling off" the screen / sentences cut off (mobipocket) Spektakel Bookeen 6 04-17-2010 11:26 PM


All times are GMT -4. The time now is 02:30 PM.


MobileRead.com is a privately owned, operated and funded community.