The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Imbalanced line-height Re: Imbalanced line-height


Some free web fonts have absolutely terrible line-heights and poor rendering.

> So my question is – can I target line-height top / bottom separately to compensate for this imbalance?

Not really. You can use a negative top margin, but that only helps on headers and should really be avoided.

> I appreciate the first answer will be “use a better font” but it’s quite specific / individual so if possible I want to keep it.

Unfortunately, that’s probably how you’re going to have to go about it. You might be able to contact the font creator and ask them to update the font for you. Or, if you’re comfortable, I believe you should be able to edit it on your own.