The line-height
attribute doesn’t work on span
by default. If you need to use line-height
on a span
, you’ll need to set display:block;
on the span
element to make it display as a block element (like <p>
).
Find this post useful?
Buy me a coffee