Quantcast
Channel: MobileRead Forums - Kindle Formats
Viewing all articles
Browse latest Browse all 861

KF8 and raised cap

$
0
0
I would like to have a "raised cap" for the chapter starting paragraphs of my KF8-book.

Code:

.parafirst {font-size: 100%;line-height: 120% ..}
.parafirst:first-letter {font-size: 300% ...}

is one version I tested. I tried span, various line-height settings etc but Kindle Paperwhite is stubborn: the height of the first line is always computed from the first letter font-size. So the first line has a greater height than the other lines of the paragraph.
I know about the 1.2em / 120% line-height minimum of KF8, but perhaps someone has some css to get nice looking raised caps.

Thanks in advance.

Viewing all articles
Browse latest Browse all 861

Trending Articles