View Single Post
Old 12-25-2024, 03:17 PM   #244
Falkor
Connoisseur
Falkor began at the beginning.
 
Posts: 90
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
Quote:
Originally Posted by DNSB View Post
Given the only use I've seen for 'initial-letter' has been in combination with the pseudo-selector ::first-letter for drop caps and my personal opinion is that drop caps are, at best, useless—perhaps, you have noticed that very often drop caps only work over a limited range of font sizes?—and should never be used unless you really want to emulate an illustrated manuscript. The only time I formatted an illustrated manuscript, I found that using images was the best looking way to go.
My main problem with drop caps is that the resuslts are pretty much random. I can make the size of the drop cap depend on the size of the text, but the line height is also variable, so the results will vary. Also, the user may set a different font, which may alter the placement of the drop cap further.

'Initial-letter' fixes these issues. I set it to 3 lines high and the drop cap will sit on the base line of the third line, easy as that.

Drop caps do get used pretty often and this works much better than the workarounds people have to use for ePub2.

Last edited by Falkor; 12-25-2024 at 03:37 PM.
Falkor is offline   Reply With Quote