I am in the process of switching some pages to HTML5 and have encountered an issue with setting headlines with a very small line height. Ever since , any line-height below the font-size seems to be ignored. I can space them out as much as I want, but cannot bring them closer together. Does anyone know why this happens and if there is a solution for it?
Thank you,
Thomas
Edit: I found the solution. In my old markup, I used
<a style="line-height:12px;" href="#">something</a>
which worked in XHTML 1.0 transitional but not in HTML5.I changed it to
<div style="line-height:12px;"><a href="#">something</a>
and that fixed the issue!Thank you!