![]() |
#16 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Thanks again for the replies, guys...
Quote:
So that's rather cool! Except it's a shame that in ADE one would never get to see the frontispiece and title page opposite each other (and/or whatever else might look nice like that, side-by-side). That is, actually, kind-of a bummer, because I do always like to create my opening pages so that they look especially nice in that way -- but with that code, I guess only iBooks users will see that (don't know about other apps/devices). :/ |
|
![]() |
![]() |
![]() |
#17 |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,743
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#19 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,743
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#20 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
![]() So are you saying that I should be testing my books in ALL three versions of it? I did check out my latest book in it, and thankfully everything seems to look okay. ![]() |
|
![]() |
![]() |
![]() |
#22 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
And for older, slower devices, in particular those that only open one file at a time (and not the entire book), doesn't it make it much more of a pain just to open the book in the first place? I mean, to make a website analogy, it'd be like if you wanted to read one article on a news website, but in order to read that one you had to open the whole, entire site. |
|
![]() |
![]() |
![]() |
#23 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,743
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#24 | ||
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#25 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,743
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I do use Sigil for cleaning up the CSS and sometimes fixing up the ToC. But for most of what I do, I use Firefox to preview and Notepad++ to edit.
|
![]() |
![]() |
![]() |
#26 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
I'm curious -- I do love Sigil, but that doesn't mean I wouldn't dump her if a better gal came along (ha ha). ![]() Interesting that you preview in FF, too, and not ADE (or whatever). Is there an advantage to that, somehow? |
|
![]() |
![]() |
![]() |
#27 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,743
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If I am renaming files en mass, I will use Sigil for that. If I am splitting files, I will use Sigil. If I am editing the ToC (NCX) enough, I will use Sigil. I use Sigil to remove unused style classes after I delete any files I don't want like an internal ToC, any sort of priase page, and any previews for another book. But for me, editing the code just works for me using Notepad++.
|
![]() |
![]() |
![]() |
#28 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#29 | |
Chief Bohemian Misfit
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
|
Quote:
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). ![]() |
|
![]() |
![]() |
![]() |
#30 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Two other solutions: - Use padding-top instead of margin-top. Padding should not be ignored. (Not an option if you have borders or background, though.) - Use a dummy element after the pagebreak. This is something like your solution, but keep your margin-top in the <h1>. Or actually use the dummy element to introduce the pagebreak: Code:
<div class="full-page-image">
<img ... />
</div>
<div class="pagebreak" style="page-break-before:always; height:0; margin:0; padding:0"></div>
<h1 style="margin-top:42px">Title</h1>
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blank pages | Sablerose | Marvin | 11 | 02-08-2014 09:06 AM |
PDF to EPUB adds extra blank lines ?? | Rojofo | Conversion | 3 | 06-01-2012 06:20 PM |
Blank Pages | PAULINE BIRCHNAL | Conversion | 5 | 01-02-2012 12:47 PM |
Troubleshooting one after another blank pages | monsterbadgog | Amazon Kindle | 0 | 02-20-2011 04:02 PM |
Blank pages | JSWolf | Calibre | 4 | 11-29-2008 01:22 PM |