View Single Post
Old 07-17-2019, 02:25 PM   #15
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,838
Karma: 8006102
Join Date: Mar 2015
Device: Kindle, iOS
I figured it out!

This is what the publisher used, which produces successful KFX with a big initial dropcap: "Hello there."

Code:
<p class="x03-CO-Body-Text">“Hello there.”</p>

p.x03-CO-Body-Text::first-letter{
	font-size:2.6em;
	line-height:0.85;
	float:left;
	margin:0 0.05em 0 0;
}
But in two instances, the dropcap also needed italics, and the publisher put the quote mark outside of the italics, which caused kfxgen to fail:

Code:
<p class="x03-CO-Body-Text">"<i>Why is the quote mark outside the italics??"</i></p>
But if they had moved the quote mark inside the italics, kfxgen would have succeeded:

Code:
<p class="x03-CO-Body-Text"><i>"Why didn't the publisher do it this way?"</i></p>

Last edited by odamizu; 07-17-2019 at 10:42 PM. Reason: mystery solved, edited several times for clarity
odamizu is offline   Reply With Quote