07-15-2012, 12:12 PM | #16 |
A Thirsty Mind
Posts: 92
Karma: 2546
Join Date: May 2011
Location: Lubec, Maine
Device: Kindle Fire, iPad, iPhone
|
The following seems to be the problem I'm having converting the epub to mobi on KP
<p class=Center style='margin-top:6.0pt'><b><span style='font-size:14.0pt'>author name</span></b></p> The epub converted by KindlePreviewer... shows this item on the Title Page as centered in the Kindle Fire and Kindle Touch view, but not in the other Kindle device views. CSS problem, yes? Would I just change the code to read: <p class=Center margin-top:6.0pt><b><span style='font-size:14.0pt'>author name</span></b></p> I want a space above the Author Name (margin-top:6.0pt) |
07-15-2012, 12:26 PM | #17 | ||
Grand Sorcerer
Posts: 27,551
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
Since you don't include the CSS definitions for your "Center" class it's hard to give a precise answer, but I would either A) move the margin-top attribute to the CSS class you've defined as "Center" ... or B) move the text centering stuff to the inline style definition. A) Code:
<p class="center"><b><span style="font-size:14.0pt">author name</span></b></p> Code:
p.center { text-align: center; margin-top: 6.0pt; } Code:
<p style="text-align:center; margin-top:6.0pt"><b><span style="font-size:14.0pt">author name</span></b></p> Last edited by DiapDealer; 07-15-2012 at 12:35 PM. |
||
Advert | |
|
07-15-2012, 01:12 PM | #18 | |
Resident Curmudgeon
Posts: 73,987
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
<p class="center">author name</p> Code:
.center { text-align: center; margin-top: 1em; font-weight: bold; font-size: x-large } |
|
07-15-2012, 01:46 PM | #19 | |
Grand Sorcerer
Posts: 27,551
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
As far as paragraph (or element) specific styles go ... if I'm only ever going to use a specific style for a paragraph... why not make it paragraph specific? Personal preference, ya ask me. Last edited by DiapDealer; 07-15-2012 at 10:03 PM. |
|
07-15-2012, 02:38 PM | #20 | |
Nameless Being
|
Quote:
I personally use Sigil to create/edit the ePub from HTML files I generated with Dreamweaver. I would NEVER use calibre to create an ePub. Calibre is good for many things, even creating a quick and usable conversion of a book. However, if you ever want to edit the ePub DON'T use calibre. The reason is that calibre creates a terrible, convoluted, nearly impossible to read CSS file. You'll get a migraine trying to decipher that mess. My preferred mobi/KF8 creation routine is:
*I always make sure to get rid of any issues which cause errors and warnings when using Kindle Previewer to compile the book. You can publish with some warnings, but I choose to address them prior to publishing. Last edited by jswinden; 07-15-2012 at 02:42 PM. |
|
Advert | |
|
Tags |
kdp, mobi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Update Mobi header/file metadata without doing a Mobi to Mobi conversion | RecQuery | Conversion | 2 | 06-30-2012 11:43 AM |
PRS-T1 Supported file types for downloading | chrisridd | Sony Reader | 2 | 11-13-2011 10:44 AM |
Touch 'supported' file types | tomsem | Barnes & Noble NOOK | 3 | 06-23-2011 10:19 PM |
Supported formatting in Mobi versus ePub | jeff47 | Kindle Formats | 3 | 10-22-2010 10:39 AM |
HS supported file formats | gvtexas | Reading and Management | 0 | 03-04-2003 05:25 PM |