Home › Forums › CSS › Making my h1 and h2 text vertically closer to one another. › Re: Making my h1 and h2 text vertically closer to one another.
August 21, 2009 at 12:21 am
#62498
BossChase
Member
Fixed it on my own. by adding a class for line height.
h1.small {line-height: 20%}
h2.small {line-height: 10%}
<h1 class="small">Hello</h1>
<h2 class="small">Hello</h2>