|
|
#1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 473242
Join Date: Oct 2012
Device: K3/PW
|
drop caps in paperwhite?
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 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,081
Karma: 2677223
Join Date: Dec 2010
Device: Kindle 3
|
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;
}
|
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 473242
Join Date: Oct 2012
Device: K3/PW
|
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 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,081
Karma: 2677223
Join Date: Dec 2010
Device: Kindle 3
|
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 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 473242
Join Date: Oct 2012
Device: K3/PW
|
Quote:
Any pointers? Thank you so much. |
|
|
|
|
|
|
#6 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,696
Karma: 3644259
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
|
Quote:
Dale
__________________
Dale DePriest http://pages.suddenlink.net/dalede or http://daledepriest.wikispaces.com currently using an EZ Reader or a Literati or my iPad. |
|
|
|
|
|
|
#7 | ||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,081
Karma: 2677223
Join Date: Dec 2010
Device: Kindle 3
|
Quote:
Quote:
|
||
|
|
|
|
|
#8 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 473242
Join Date: Oct 2012
Device: K3/PW
|
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 |