![]() |
#16 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 1000
Join Date: Sep 2010
Location: Melbourne, Australia
Device: iPad2, Kindle
|
Thanks for your replies. Will check out MobiUnpack!
DiapDealer, I just posted a question in your old thread about hanging paragraphs. I should have posted it here I guess. For now, I'll link to it instead: https://www.mobileread.com/forums/sho...d.php?t=142664 |
![]() |
![]() |
![]() |
#17 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 1000
Join Date: Sep 2010
Location: Melbourne, Australia
Device: iPad2, Kindle
|
Do you know what code I could use to add an inline space-before a paragraph for in mobi? I've figured out I can use find/replace to quickly add a blank para before quotes on a global level, but I would prefer to keep it in the code, if not in CSS, at least in-line code.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,517
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
If you don't want to use CSS you can just use:
Code:
<p> </p> But I tend to create a special CSS class that has an extra-large "margin-top" attribute and assign that class to paragraphs when I want a space (scenebreak or whatever). Code:
<p class="gap">Blah, blah, blah.</p> Code:
.gap { margin-bottom:0; margin-right: 0; margin-top: 1em; margin-left:0; text-indent: 1.2em; } |
![]() |
![]() |
![]() |
#19 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
Code:
<p style="margin-top: 1em;"> ... |
|
![]() |
![]() |
![]() |
#20 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,517
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Or the HTML 3.2 code that you'd find in the mobi itself would be: Code:
<p height="0pt" width="1em">Blah, blah, blah.</p> <p height="1em" width="1em">More and more blah.</p> <p height="0pt" width="1em">Even more and more blah.</p> ("width" defining the paragraph indent and "height" defining the paragraph spacing) Which has the advantage of not needing to be "translated" by any converter program (but the disadvantage of being easy to forget about and making later edits difficult when tracking down hard-coded "styles.") Last edited by DiapDealer; 11-10-2011 at 10:41 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,502
Karma: 145863170
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#22 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,517
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
epub conversion, kindlegen, mobi conversion |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUB -> Mobi Conversion / HR and Margins | pnw19 | Calibre | 0 | 06-22-2011 11:08 PM |
.epub to .mobi after conversion | illustrata | Conversion | 9 | 05-10-2011 06:09 AM |
Epub to mobi conversion question | ematte | Amazon Kindle | 2 | 01-10-2011 05:17 PM |
ePub to Mobi Conversion Quality | Logiedan | Calibre | 8 | 08-17-2010 04:02 PM |
Epub to Mobi conversion | MichaelGray | Calibre | 2 | 08-12-2010 01:08 PM |