I am sure this has been asked before but I can't quite dig up the exact question that I'm interested in. Often times, in typography, font size and baseline space are denoted as 10/12 or similar, meaning that the type is 10 pt with a baseline spacing of 12 pt.
How does that translate to CSS? For example, mozilla.org suggests to use a notation that seems very similar to the above:
However, the line-height property seems to refer to the height of the text box (the line) rather than the spacing of baselines. My question is: how do these two relate to each other?
How does that translate to CSS? For example, mozilla.org suggests to use a notation that seems very similar to the above:
font: 10pt/1.2 Georgia,"Bitstream Charter",serif
However, the line-height property seems to refer to the height of the text box (the line) rather than the spacing of baselines. My question is: how do these two relate to each other?