View Single Post
Old 02-25-2011, 11:34 PM   #13
adv_dp_fan
Zealot
adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!
 
Posts: 103
Karma: 57138
Join Date: May 2010
Device: Sony 505, iPad 1 & 3, Galaxy Note 8.1
Today I was able to get my hands on a copy of the iBookstore Asset Guide which gives lots of little details about creating epubs for the iBookstore. In it I learned that yes, they did just start to implement the "page-break-before" and the "page-break-after" properties with this last release. Appears that before they ignored them.

It seems that if you have that as part of an element that starts a new page, say a new xhtml file, then you get the page break from the element AND a forced page break (assuming "page-break-before: always") and thus a blank page at the start of each chapter.

I experimented with it a little and a new book I was working on and discovered two fixes, either remove the "page-break-before" property OR change it from "always" to "auto". Setting it to auto seems to prevent iBooks from placing the extra page-break and thus the blank page.

Hope this info is helpful to others besides me.
adv_dp_fan is offline   Reply With Quote