Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-14-2020, 06:00 AM   #16
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 95
Karma: 10
Join Date: Jan 2020
Device: kindle
Here is what I finished up using
<span class="first-letter">F</span>

css
.first-letter {
display:block;
float:left;
font-size: 5em;
line-height:0.8em;
color:#bf253c;
font-weight:normal;
}
increase is offline   Reply With Quote
Old 02-14-2020, 08:53 AM   #17
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Here's what I use to replace all dropcap codes, since dropcaps are easily screwed up during conversion:

.dropcap {
display: inline;
font-weight: bold;
font-size: 2em;
line-height: 0;
}
deback is offline   Reply With Quote
Advert
Old 02-14-2020, 08:55 AM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by deback View Post
Here's what I use for any dropcaps, since dropcaps are easily screwed up during conversion:

.dropcap {
display: inline;
font-weight: bold;
font-size: 2em;
line-height: 0;
}
That's not a dropcap. Plus, on a Kindle, it looks awful. You cannot always do a larger first letter if it's too large so it looks good on a Kindle.

Your code works with ePub, but not KF8/Mobi.
JSWolf is offline   Reply With Quote
Old 02-14-2020, 09:09 AM   #19
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
I know it's not a dropcap, silly. That's why I said I "replace" all dropcap codes with these codes. It works on ePubs, and that's all I use, so it doesn't matter to me that it doesn't work with Mobi or KF8, which I will never ever use. (I had edited my initial post within seconds to change it from "use" to "replace," so you obviously hadn't refreshed the page before you responded with your usual annoying response.)

Last edited by deback; 02-14-2020 at 09:22 AM.
deback is offline   Reply With Quote
Old 02-14-2020, 10:24 AM   #20
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
I just converted one of my ePub files (with the enlarged first letter codes I posted above) to Mobi, and the first letter looks fine in Kindle. It's perfect and looks just like the first letter in the ePub file. So, if I ever decide to read Mobi files, all the enlarged first letters will be perfect, contrary to what JS Wolf said above.

Last edited by deback; 02-14-2020 at 08:13 PM.
deback is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting AZW3 to Epub Lyn2012 Conversion 17 10-06-2014 08:47 AM
Raised Drop Cap Image Followed by Small Caps RyanMcSwain ePub 10 09-04-2014 10:12 AM
Drop cap bug on Paperwhite dgatwood Kindle Formats 11 04-10-2014 04:14 AM
Aura HD Drop Cap coding help, please MacEachaidh Kobo Reader 13 08-15-2013 01:18 PM
Using CSS in Word to make a Drop Cap work in an Epub brewt ePub 3 01-31-2009 06:00 PM


All times are GMT -4. The time now is 05:59 AM.


MobileRead.com is a privately owned, operated and funded community.