Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Apple Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 06-15-2010, 05:16 AM   #1
bala07
Junior Member
bala07 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2010
Device: iPad
Page Break Doesn't support iPad?

Guys,

I have used page break in the my ePub. It's not working in my iPad. Do you have any solution to fix this issue? It's working well in Adobe Digital Edition.

e.g.,
style="page-break-before:always;"

Many thanks
Bala
bala07 is offline   Reply With Quote
Old 06-15-2010, 05:34 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,528
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
What program are you using to view this ePub?

And one solution is to split the flow into multiple flows that split where you want the page break to occur.
JSWolf is offline   Reply With Quote
Old 06-15-2010, 06:20 AM   #3
murraypaul
Interested Bystander
murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.murraypaul ought to be getting tired of karma fortunes by now.
 
Posts: 3,224
Karma: 10210627
Join Date: Jun 2008
Device: Sony PRS505, Nook Color(CM7), iPad3
See this thread.
murraypaul is offline   Reply With Quote
Old 06-15-2010, 09:16 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,528
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by murraypaul View Post
But that thread you linked doesn't solve the page break problem. What the thread you linked is solving is a different problem.
JSWolf is offline   Reply With Quote
Old 06-15-2010, 10:56 PM   #5
kjk
.
kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.
 
Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
Quote:
Originally Posted by JSWolf View Post
But that thread you linked doesn't solve the page break problem. What the thread you linked is solving is a different problem.
This part of Liz's blog:
Quote:
If you set the display property for a div to be inline-block, iBooks will display the contents of the entire div together on a single page, skipping to a new page if necessary, unless the entire div can't fit on a page by itself, in which case it will be divided across pages.
should force a "page break before", shouldn't it? (haven't tried it yet). I'm just following her "header" example, and how she got it to start a new page by linking it to the paragraph below it.
kjk is offline   Reply With Quote
Old 06-15-2010, 11:30 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,528
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by kjk View Post
This part of Liz's blog:


should force a "page break before", shouldn't it? (haven't tried it yet). I'm just following her "header" example, and how she got it to start a new page by linking it to the paragraph below it.
But if you want that header to start on a new page without creating another flow, then the example given in the blog post won't always work. If the space left at the bottom of the preceding screen has enough room, then the header and first paragraph will fit and not be on a new screen. A page break causes what's after the break to be on the next screen regardless of what room is left on the proceeding screen. If iBooks does not support the page breaks, just split the XML into multiple flows as needed and you will have the effect of a page break.
JSWolf is offline   Reply With Quote
Old 11-09-2010, 08:13 AM   #7
Chang
Connoisseur
Chang began at the beginning.
 
Posts: 78
Karma: 34
Join Date: Oct 2009
Device: none
So, there isn't solution for page breaks by using "page-break-before: always;"? Only way to have page break before every chapter is to have each chapter in different file, right?
Chang is offline   Reply With Quote
Old 11-09-2010, 02:52 PM   #8
KLUTCH
Enthusiast
KLUTCH began at the beginning.
 
KLUTCH's Avatar
 
Posts: 29
Karma: 22
Join Date: Oct 2010
Location: London
Device: Kindle, iPad, iPhone 4, HTC Desire
Make sure your div calls a class that has the style in the css. Your first post had
Quote:
style="page-break-before:always;"
If you only want page breaks at the end of chapters then I would suggest splitting them into separate files.

---
stunjelly.com
ebook formatting and repairs
KLUTCH is offline   Reply With Quote
Old 11-10-2010, 02:07 AM   #9
Chang
Connoisseur
Chang began at the beginning.
 
Posts: 78
Karma: 34
Join Date: Oct 2009
Device: none
So, page breaks work only in div elements but not in p elements, got it. Thanks!
Chang is offline   Reply With Quote
Old 11-10-2010, 08:21 AM   #10
KLUTCH
Enthusiast
KLUTCH began at the beginning.
 
KLUTCH's Avatar
 
Posts: 29
Karma: 22
Join Date: Oct 2010
Location: London
Device: Kindle, iPad, iPhone 4, HTC Desire
It's better to be safe and use div's for those sorts of things, I don't like to style p tags it doesn't feel right.

Also there is an issue with microsoft rendering http://support.microsoft.com/kb/274554

---
stunjelly.com
ebook formatting and repairs
KLUTCH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobi to epub page break mr.ninja13 Calibre 23 08-09-2011 03:06 PM
Why two separate page break xpaths in 0.6.x? ldolse Calibre 3 08-12-2009 02:00 PM
Page break before h2 question Amalthia Calibre 9 04-17-2009 07:33 PM
Page break before <b> flowoeB Calibre 14 04-12-2009 04:05 PM
PRS-500 makelrf3 and Unexpected Page-Break EatingPie Sony Reader Dev Corner 0 04-19-2007 02:28 AM


All times are GMT -4. The time now is 12:51 AM.


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