Silver Firefly
Senior Member
Hi folks!
I'm just wondering when the browser calculates the line height from a CSS stylesheet, where does it calculate from? Like where is the starting point?
I'll demonstrate what I mean:
If you look at "Weblog" for example, you'll see that the "g" has a tail. I think that the line height is divided pretty much in two. So if I were to have "Weblog" sized at 16px, and the base line height is set at 24px (16*1.5), then there should be 12px of space above and below the word "Weblog," right? But my problem is, does the browser add that 12px of space below "Weblog" where the tail of the "g" ends, or does it start at the baseline (where the red zone starts)?
This typography stuff is confusing to say the least...
I'm just wondering when the browser calculates the line height from a CSS stylesheet, where does it calculate from? Like where is the starting point?
I'll demonstrate what I mean:
If you look at "Weblog" for example, you'll see that the "g" has a tail. I think that the line height is divided pretty much in two. So if I were to have "Weblog" sized at 16px, and the base line height is set at 24px (16*1.5), then there should be 12px of space above and below the word "Weblog," right? But my problem is, does the browser add that 12px of space below "Weblog" where the tail of the "g" ends, or does it start at the baseline (where the red zone starts)?

This typography stuff is confusing to say the least...