View Single Post
Old 06-28-2018, 06:25 AM   #8
Wlan
Enthusiast
Wlan began at the beginning.
 
Wlan's Avatar
 
Posts: 25
Karma: 10
Join Date: Jun 2018
Device: none
Quote:
Originally Posted by JSWolf View Post
I don't mind the line height for the drop cap. What I object to is using a line height for the main text to force it to work with the drop cap. I use a tight line height and a lot of drop caps don't work with that. Most require a larger line height.
I get it.

I tested this code with several different fonts and it worked, if you want to test it was the best solution I found.

Also, I used the Element Inspector to find The height of all the lines together em according to the number of lines I wanted based on my font-family and font-size. This ensured that the Drop Caps did not exceed the size for the amount of lines I wanted.
Wlan is offline   Reply With Quote