View Single Post
Old 02-28-2012, 08:28 AM   #6
KLUTCH
Enthusiast
KLUTCH began at the beginning.
 
KLUTCH's Avatar
 
Posts: 29
Karma: 22
Join Date: Oct 2010
Location: London
Device: Kindle, iPad, iPhone 4, HTC Desire
Header tags (h1 etc) have a larger 'line-height' than you would expect from a <p> so you will get space above and below the actual x height of the text.

Setting the line-height to 0em will 'solve' this but will stack the text if the line breaks

Example
Code:
<h1 style="line-height:0em;">Derp</h1>
<p>Herp</p>
KLUTCH is offline   Reply With Quote