View Single Post
Old 08-28-2014, 10:36 AM   #29
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Jeff L View Post
You could set "oeb-column-number" to 1.

E.g.
<body style="oeb-column-number: 1"> or in the CSS for global settings.
I've been thinking about this, and at first I was rather please about it, because putting that code in my book did resolve the issue with regard to ADE inserting those blank pages -- effectively by forcing the reader to see things as a single-page and "disallowing" the two-page view -- but in a way it's rather a shame that people won't even have the option (in ADE, anyway) to see things like, say, having the frontispiece opposite the title page, etc.

I guess the issue with the latter, the way I've been doing things, is that all my full-page images are done as a separate file. I tried just putting all the code for my full-page frontispiece and my title page and putting them into a single file (so that no page break would occur between them in ADE), and it seems to be working (in both ADE on my PC and in iBooks on the iPad, anyway)! The only little "quirk" that I found was that for the <h1> heading that comes after that full-page image, I'd set the style to include top-margin:42px, so that all those <h1> titles would be moved down a bit from the top of the page. That seems to end up getting ignored, though, if I have the code for the full-page image before it, and so what I did was "manually" set the style for that particular <h1> tag to margin-top:0, and then put a <p> tag above it with a line-height:42px.

And that seems to do it.

Now, as far as any other sections of my book that I have are made up of a bunch of separate files -- not full-page images, but just plain ol' text, where I would like to have, say, the title page for a particular section of the book immediately followed by the first "chapter" in that section (without any page break between them) -- I figured I could dump them all together in a single file, too, and where I want the page breaks to occur I just add page-break-after:always to the very last paragraph (or whatever) on the page.

Is that right?

And, more importantly, do those page-break codes work in all devices? Or am I looking for trouble in doing it this way?

I hope that all makes sense. And I guess I might as well stop and wait for some response here before I get too far in totally re-doing everything (possibly to no avail -- good thing I did a "save as" on this latest revision).
Psymon is offline   Reply With Quote