My HTML-Email template is not rendering properly in Outlook.
Gmail:
Outlook desktop:
<table align="center" border="0" cellspacing="0" cellpadding="0" style="width: 90%;border-collapse: collapse;align-content: center;">
<tr>
<td style=" background-color: #ececec; display: block;border-bottom: 2px solid #ccc;padding: 5px;text-align: center;vertical-align: middle;"></td>
<td id="title" style="background-color: #ececec; display: table-cell;width: 40%; padding: 0px; text-align: center; font-size: 15px; font-weight: bold; vertical-align: middle;">SHOP WITH CONFIDENCE</td>
<td style=" background-color: #ececec; display: block;border-bottom: 2px solid #ccc;padding: 5px;"></td>
</tr>
</table>
How to make it same looking as in Gmail?


You need a 2-row table layout. Unfortunately
rowspandoes not work well in Outlook. You still can include a suitable inside the table cells. Then you should remove most of your styling from the table cells. It makes no sense to usedisplay: blockon those cells and then redeclaresdisplay: tabel-cellon them later on. Just use the default straight away.Last but not least, you have to use
 to add content to the table cells as they would collapse otherwise.I also moved the
background-colorfrom the cells to the table itself.