This tripped me up the other day. Looked fine in Internet Explorer?8 and other browsers but Internet Explorer 7 was cutting off the text, as if the element containing it was too small and an overflow: hidden;
rule was at play.
The fix? Setting the line-height
to 100% on the offending as follows:
h1 {
? ?font-size: 2em;
? ?line-height: 100%;
}
Brought to you with exceptional happiness from Stack Overflow.