Je ne fais que créer un bulletin d'information par e-mail, et je n'arrive pas à comprendre comment forcer Outlook à afficher mon tableau HTML correctement.Outlook 2010 et HTML Tables
Il est par exemple simple:
<table cellpadding="0" cellspacing="0" id="outlookHack"
style="table-layout:fixed; border: 0; background-color: #1E6C9D;
background-image: url(http://www.komix.cz/upload/img_bg.png);
background-repeat: repeat-y; margin-top: 0px; margin-bottom: 0px;
padding: 0px; margin-left: auto; margin-right: auto;
text-align: center;width: 620px;" width="620">
<tr>
<td width="10" style="width: 10px; background:inherit;" height="10"> </td>
<td width="600" style="width: 600px; background:ihnerit;" height="10"></td>
<td width="10" style="width: 10px; background:inherit;" height="10"> </td>
<tr>
<tr>
<td width="10" style="width: 10px; background: inherit;"> </td>
<td width="600" style="width: 600px; background: white;">some content...</td>
<td width="10" style="width: 10px; background: inherit;"> </td>
<tr>
</table>
Le problème est que gauche et droite colonnes doivent avoir une taille fixe de 10px, mais les perspectives 07/10 les rend comme 5px +/-.
À l'exception d'Outlook 07, le remplissage fonctionne réellement à 100% dans tous les principaux clients de messagerie, à la fois Web et de bureau. Et Outlook 07 le supporte toujours, il peut juste avoir un comportement bizarre - Décrit ici: http://www.activecampaign.com/blog/email-design-watch-your-table-cell-padding/ Pour les OP fins (une disposition de colonne droite avec rembourrage de chaque côté horizontal), la méthode de remplissage fonctionnera parfaitement. – Todd