12-10-2012, 01:26 PM | #1 |
Enthusiast
Posts: 38
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
|
drop caps in paperwhite?
I have been vexing over this for a long while to no fruition. I'm wishing to make dropcap on a file, however although it shows perfectly in Sigil, when I converted the file to azw3 and transferred it to my paperwhite, the text is regular. No dropcap in sight.
This is the sample of the css: Code:
span.dropcaps { float: left; font-size: 60px; line-height: 50px; padding-top: 1px; margin-top: -.09em; margin-right: .02em; } Code:
<p><span class="dropcaps">I</span>n the year 1878 I took my degree of Doctor of Medicine of the University of London, and proceeded to Netley to go through the course prescribed for surgeons in the army. |
12-10-2012, 02:09 PM | #2 |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
For some reason, dropcaps that look OK in Sigil don't look OK in the compiled .mobi file and the dropcaps code that Amazon recommends in the Publishing Guidelines doesn't work in epubs.
Amazon recommends the following code, which works fine on my K3 with the default fonts, if I compile the .epub with KindleGen. Code:
span.dropcaps { font-weight:normal; font-size:320%; float:left; margin-top:-0.3225em; margin-bottom:-0.3245em; } |
12-10-2012, 03:38 PM | #3 | |
Enthusiast
Posts: 38
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
|
Quote:
this is what it should look like and this is what it look like in paperwhite code: Code:
span.dropcaps { font-weight:normal; font-size:320%; float:left; margin-top:-0.2225em; margin-bottom:-0.5245em; } |
|
12-10-2012, 04:00 PM | #4 |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
This looks be a problem with Calibres AZW3 converter, try compiling the .epub with Kindle Previewer/KindleGen instead.
(I.e. simply open the .epub file with KP.) Also don't use Kindle Cloud storage to transfer the file. |
12-10-2012, 07:05 PM | #5 | |
Enthusiast
Posts: 38
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
|
Quote:
Any pointers? Thank you so much. |
|
12-10-2012, 10:18 PM | #6 | |
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 |
|
12-11-2012, 02:44 AM | #7 | ||
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
|
||
12-11-2012, 12:10 PM | #8 |
Enthusiast
Posts: 38
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
|
will try, thank you.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Css Drop Caps does not work in an Epub on a Reader | brewt | ePub | 63 | 09-07-2012 12:46 AM |
Drop caps | huebi | ePub | 8 | 03-04-2012 06:25 AM |
The opposite of drop caps | LostSock | ePub | 13 | 09-13-2011 07:07 AM |
newbiq Q about Drop Caps and Calibre | NASCARaddicted | Calibre | 2 | 01-14-2010 07:03 PM |
css drop caps coming out of calibre | brewt | Calibre | 3 | 01-18-2009 04:00 PM |