Hi all, I’m new here.
I have an issue which I really need some help with, or want to see if I am the only one experiencing it, as I have searched for hours on the web.
Ever since hotmail ‘updated’ my line-heights for all text have been wrong, they add an extra gap. I always specify my line height in the td using the style element, which worked nicely in the clients we test for (Yahoo, Hotmail, Gmail, (FF & IE), Outlook 2003 & 2007).
However, now it doesn’t work for Hotmail (IE & FF). I decided to use firebug to see where this extra spacing was coming from and found that hotmail uses the following:
* {line-height: 131%}
However, I cannot find a work-around for this at all! I have set the td to style block, used * {line-height: 0}. Wrapped the text in a div and specified an inline style on the div. No avail!
Any ideas please?
Code snippet below (very basic, but line height still gets ignored in Hotmail!):
<html>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<style type="text/css">
.ReadMsgBody {width: 100%;}
.ExternalClass {width: 100%;}
table tr td {mso-line-height-rule: exactly;}
</style>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000">
<tr>
<td align="left" valign="top"><table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" style="padding-bottom: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 44px; line-height: 44px; color: #ffffff; text-transform: uppercase; letter-spacing: -3px; display: block;"><b>lorem ipsum <span style="color: #eebd00;">dolor sit amet</span> consectetur adipiscing elit. Etiam risus.</b></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
Thanks
Luke

