Hi Folks,
Is there a way to reduce the amount of vertical separation between text on <h1> lines and text on immediately-following <h2>lines? See, for example, http://www.njdriverslicenses.com/ .
Thanks,
A.
Printable View
Hi Folks,
Is there a way to reduce the amount of vertical separation between text on <h1> lines and text on immediately-following <h2>lines? See, for example, http://www.njdriverslicenses.com/ .
Thanks,
A.
Hi Alan,
You can adjust the default margin and line-height of headings by fiddling with these values;
Or you can target the top and bottom margins separately by using 'margin:top' and 'margin-bottom'Code:h1 { line-height:1.25; margin:0.25em }
h2 { line-height:1; margin:0 }
Bev,
Fiddling did, problem solved. Thank you!
A.