11-08-2011, 12:50 AM | #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 |
11-10-2011, 01:12 AM | #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 | |
|
11-10-2011, 09:55 AM | #18 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
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; } |
11-10-2011, 10:25 AM | #19 | |
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:
<p style="margin-top: 1em;"> ... |
|
11-10-2011, 10:38 AM | #20 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
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 | |
|
11-17-2011, 10:15 PM | #21 | |
Resident Curmudgeon
Posts: 74,027
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
11-18-2011, 08:00 AM | #22 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
Tags |
epub conversion, kindlegen, mobi conversion |
|
Similar Threads | ||||
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 |