Forum How do I...?

Using Italic throws off baseline grid

twantzen
Just using the italic version of the same font throws off the baseline grid. Looking into the font shows different ascender/descender values for regular and italic.

How can I correct this via CSS?

Thanks in advance
Tobias
  1. screenshot.png316.8 kB
dauwhe
Have you tried

em { line-height: 0; }

Edited by dauwhe

twantzen
Thanks, that's it.