Ich möchte eine E-Mail senden, die in Outlook geöffnet wird. In dieser E-Mail möchte ich einige leere meinen Code td
Td in HTML-Mail ausblenden
Dies ist zu verbergen:
<td width=""10%"" style="overflow: hidden;display:none;mso-hide:all;font-size: 0;max-height: 0; line-height: 0;"></td>
Was ich bekomme, ist dies:
Dieser td
ist wie es ist eine 1px Höhe, aber nicht versteckt.
Edit: full Tabelle
<table border=1 align=""right"" style=""width: 49.5%;font-family:calibri;font-size:10pt;border-collapse:separate;" +
@"border: 1px solid black;"">"
@"<tr><th style=""font-family:calibri;font-size:10pt;background-color:#DDD9C4;"">Localisation</th>" +
@"<th style=""font-family:calibri;font-size:10pt; background-color:#DDD9C4;"">Site</th>" +
@"<th style=""font-family:calibri;font-size:10pt; background-color:#DDD9C4;width : 10%;"">Etat</th>" +
@"<th style=""font-family:calibri;font-size:10pt;background-color:#DDD9C4;"">Commentaire</th> </tr>";
bodytable = bodytable + "<tr>" +
@"<td style=""background-color:" + GetLocalisationColor(itemtheme.NomTheme) + @""" rowspan=" + (itemlocation.Site.Count + 1) + ">" + itemlocation.NomLocalisation + "</td>" +
@"<td style=""overflow: hidden;display:none;mso-hide:all;font-size: 0;max-height: 0; line-height: 0;""></td>" +
@" <td width=""10%"" style=""overflow: hidden;display:none;mso-hide:all;font-size: 0;max-height: 0; line-height: 0;""></td>" +
@"<td style=""overflow: hidden;display:none;mso-hide:all;font-size: 0;max-height: 0; line-height: 0;""></td>" +
" </tr>";
vollständige Tabelle Code –
getan hinzufügen E-Mail-Vorlage verwenden müssen! denkst du – user3756817