![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
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. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
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; } |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
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; } |
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
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. |
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
|
Quote:
Any pointers? Thank you so much. |
|
![]() |
![]() |
Advert | |
|
![]() |
#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 |
|
![]() |
![]() |
![]() |
#7 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 473242
Join Date: Oct 2012
Device: K3/PW/KV
|
will try, thank you.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |