|
|
|
|
|
by joshnh
4825 days ago
|
|
Absolutely, you can hack it on a very individual basis, but this introduces some major problems. For instance, browsers and operating systems all render fonts differently, and as the web is fluid by nature, simply having a sentence break to the next line can be an issue. Also, it can be incredibly different based on the typefaces you are using. |
|
Although the css prop. "line-heigt" is not implemented in a convenient way, it is still deterministic as I understand from the quoted article:
"This is determined by working out the difference between the line-height and the font-size, dividing by 2, and then placing the calculated amount of space above and below each line of text."