Making line height work with spans

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

).


Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: