02-21-2018, 11:05 AM | #16 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2018
Device: Kobo Glo
|
|
02-21-2018, 12:25 PM | #17 | |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
|
|
02-21-2018, 01:19 PM | #18 |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
02-21-2018, 01:49 PM | #19 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2018
Device: Kobo Glo
|
|
02-21-2018, 02:01 PM | #20 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Just amend the CSS that you're using for that section to create margin, either above/below. If you want to post the HTML and CSS, I'm sure that the Crew here can help. Hitch |
|
02-22-2018, 10:20 AM | #21 |
A Hairy Wizard
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
^^^ What Hitch said!
ex: Code:
<p>Normal para</p> <p>Normal para</p> <p>Normal para</p> <p class="break">Scene break para</p> <p>Normal para</p> <p>Normal para</p> <p>Normal para</p> CSS: p {margin:0, padding:0; font-size:1em; text-indent:1.2em} p.break {margin-top:2em; text-indent:0} |
02-22-2018, 02:20 PM | #22 | |
Member
Posts: 13
Karma: 10
Join Date: Feb 2018
Device: Kobo Glo
|
Quote:
For now, the only question remaining is what app I can use as a reference tool? |
|
02-22-2018, 06:41 PM | #23 | ||
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Hitch |
||
02-23-2018, 09:08 AM | #24 | ||
Member
Posts: 13
Karma: 10
Join Date: Feb 2018
Device: Kobo Glo
|
Quote:
When I'm modyfing an epub, I want to see what those changes look like. So I open the epub in apps like iBooks or ADE. So by a reference tool I mean, what software (if there is any) can I use to check up on those changes. Sigil alone clearly doesn't cut it because the empty paragraphs work in Sigil. Quote:
|
||
02-23-2018, 10:07 AM | #25 |
Grand Sorcerer
Posts: 12,155
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
The cheat is the use of empty paragraphs, not the use of ADE.
Sent from my Nexus 7 using Tapatalk |
02-23-2018, 02:20 PM | #26 | |||
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Quote:
You can learn how to do that, using CSS, very, very easily, I promise. It's one of the very first things that I learned ho to do, when I was first putting my toes into the waters of learning how to make "EPUB" like the Big Kids. (I started out making MOBI/PRC files, using the old MobiPocketCreator program, which is like...Kindergarten, if you know that term?, compared to HighSchool, [for ePUB] in the eBook world. When I first started coming to MobileRead, I was so intimidated by all the programmers and stuff. Psssst, don't tell them I said that. :-) Hitch |
|||
02-25-2018, 01:36 PM | #27 |
Resident Curmudgeon
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I don't even like the use of <br/>. I consider that poor coding.
|
02-25-2018, 03:42 PM | #28 |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
I'm sure that If I put my noggin to it, I could think of a select few instances in which they are justified--I'm absolutely sure I've used it, and my shop has too. However, 99% of the time, at least, Jon, you are absolutely right, it's sloppy/lazy coding.
Hitch |
02-25-2018, 04:38 PM | #29 | |
Wizard
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
Code:
CSS: h1 {margin-top: 2em; margin-bottom: 2em; text-align: center;} Text: <h1>LOVE AMOUNG<br/>the<br/>CHICKENS</h1> <h1>by P. G. Wodehouse</h1> Code:
CSS: h1 {margin-top: 2em; margin-bottom: 2em; text-align: center;} h1.firstline {margin-top: 2em; margin-bottom: 0em; text-align: center;} h1.middleline {margin-top: 0em; margin-bottom: 0em; text-align: center;} h1.bottomline {margin-top: 0em; margin-bottom: 2em; text-align: center;} Text: Text: <h1 class="firstline">LOVE AMOUNG</h1> <h1 class="middleline">the</h1> <h1 class="bottomline">CHICKENS</h1> <h1>by P. G. Wodehouse</h1> |
|
02-25-2018, 04:50 PM | #30 | |
Addict
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
I’d probably put the byline in a separate p/div with class="byline"; it’s not a sub-heading to my mind and thus wouldn’t use an h1 (or h2) tag. You can put whatever formatting you want on the byline class. Something like: Code:
.title { text-align: center; font-size: larger; } .byline { text-align: center; font-size: large; font-style: italic; } .... <h1 class="title"> <div>Love Among</div> <div>the</div> <div>Chickens</div> </h1> <div class="byline">by P. G. Wodehouse</div> It's possible that the byline div should go inside the h1 tag if I want a TOC entry of “Love Among the Chickens by P. G. Wodehouse”. That’s more likely in something like an anthology of short stories by different authors. Last edited by sjfan; 02-25-2018 at 05:06 PM. |
|
Tags |
endnote, epub, hide |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Plugin] epub2 output | Doitsu | Plugins | 11 | 12-01-2021 04:17 PM |
epub3 to epub2 | AlanHK | Sigil | 11 | 08-09-2017 05:06 AM |
EPUB2 to EPUB 3 errors | Psymon | ePub | 38 | 03-12-2016 01:12 PM |
EPUB2 and the DOCTYPEgate | roger64 | ePub | 21 | 07-18-2014 07:49 PM |
refined metadata in epub2? | mzmm | ePub | 2 | 11-14-2012 01:52 PM |