Skip to content Skip to sidebar Skip to footer

Extra Word Spacing Of H Tag

I have h2 tag and there is content :before. HTML

This is h2 tag and it has word spacing pr

Solution 1:

I answered in the comments, but the Glyphicon Haflings font is being applied to the entire <h2> tag, and this will cause the spacing problem. The font should only be applied to the element that is specifically containing the Glyphicon.

To increase specificity, you could use an <i> tag as the first child of <h2>, and another would be (as OP did) moving the font-family to the .arrow-heading:before selector in your CSS.


Post a Comment for "Extra Word Spacing Of H Tag"