[update: partial solution below]
I'm trying to put an HR in an email, but actually using 100% width 1px high table/td. I've trawled the forums/stackoverflow etc and can't yet find a solution that works across all Outlooks *AND* Lotus 6,7,8 (as well as the other clients but they're less problematic)
I guess it would be possible to do an if(!mso) and if(mso) rule and double up the content as I have some options that work in Outlook and some that work in Lotus but not both .. that's not ideal though
anyone have anything reliably working yet?
I am happy to test any suggestions in Litmus and post the results.
for my purposes I didn't need an exact 1px height in terms of the space surrounding the horizontal rule (ie it's not a pixel perfect slice of an image here, just a divider in some copy)
I found border-bottom:1px solid #FFFFFF for some reason gave me a black border in Lotus 7. could be something to do with the default font colour I'm not sure. however using border-top worked ok
this therefore appears to work for me in all email clients Litmus lets me test.
<table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td height="1" style="border-top:1px solid #ffffff; font-size:1px; height:1px; line-height:1px"> </td> </tr> </table>
hope this is useful to someone
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that drive real business results.Get started for free