user4756836 user4756836 - 6 months ago 10
HTML Question

Spacing between header on each line

I am trying to add spacing between each line on my header. Some of the letters seem to overlap while others are very close to the next line. I tried adding

padding
but that is adding padding around the whole text rather than each line. Any help will be appreciated.

JSFiddle Demo

Answer

You are probably looking for the line-height css verb:

line-height: 1.6em;

https://jsfiddle.net/L1jch0Lf/3/

See the documentation at MDN.

Comments