Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-14-2020, 07:00 AM   #16
increase
Connoisseur
increase began at the beginning.
 
Posts: 50
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 online now   Reply With Quote
Old 02-14-2020, 09:53 AM   #17
deback
Book E d i t o r
deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.
 
Posts: 366
Karma: 110636
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
Old 02-14-2020, 09: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: 55,433
Karma: 51439620
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
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, 10:09 AM   #19
deback
Book E d i t o r
deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.
 
Posts: 366
Karma: 110636
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 10:22 AM.
deback is offline   Reply With Quote
Old 02-14-2020, 11:24 AM   #20
deback
Book E d i t o r
deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.deback figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.
 
Posts: 366
Karma: 110636
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 09:13 PM.
deback is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


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


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