I'm designing email template. Between some texts I need to put break lines. So far so good on most clients except outlook.com(on browser). It wraps my <br>
inside a <p>
which has big margin by default.
I have tried to use <br>
, <td>
with space, <td>
with <span>
and space inside and <td>
with <p>
with margin:0
and space inside. Each time i got my html wrapped in a <p>
.
Why it wraps my html in <p>
??
I've never found the .ExternalClass
hacks to be of any use. Outlook.com is very iffy in general about line-height
and <p>
tags as a whole, so I've found the best thing to do is remove all <p>
tags from my emails just and put all text sections inside a <font>
tag inside the <td>
.
I ran a quick litmus test and wasn't able to reproduce your results, with either <br>
or <br/>
however you could just nest a table inside a <td>
, don't define heights, and use multiple rows in that table to simulate breaks. I've found that it doesn't mess with my usual line-height rhythm.