2017-09-24 1 views
0

Ich habe eine Tabelle für eine E-Mail-Vorlage erstellt. Ich wollte die Höhe meiner TDs verringern, kann aber nichtWarum scheint sich meine td-Höhe nicht anzupassen?

Hinweis: die beiden TDs mit RGB (41,62,151) BG Farbe, 5% Breite, Colspan von 2, 100px Höhe, die ich nicht verringern kann.


 

 
<table cellpadding="0" cellspacing="0" style="text-align: center; width: 100%; font-size: 10pt; border-collapse: collapse"> 
 
<tbody style="margin: 0"> 
 

 
<tr> 
 
<td colspan="14" style="background-color: rgb(41, 62, 151); border-bottom-color: rgb(41, 62, 151)"> 
 
<img src="an image here"> 
 
</td> 
 
</tr> 
 

 
<tr> 
 
<td colspan="2" style="background-color: rgb(41, 62, 151); height: 100px; width: 5%"> 
 
<br> 
 
</td> 
 

 
<td colspan="10" style="background-color: white; height: 350px; width: 90%; 
 
padding: 30px 100px"> 
 
<p style="text-align: justify"><span style="color: rgb(42, 61, 151); font- 
 
family: Callibri, Geneva, sans-serif; font-size: large; text-align: left">some text here</span><b style="color: rgb(42, 61, 151); font-family: 
 
Callibri, Geneva, sans-serif; font-size: large; text-align: left">&nbsp;</b> 
 
</p><p style="text-align: justify"> 
 
<font color="#283e97">text here</font><br>some text here<br><br><span 
 
style="color: rgb(40, 62, 151)">some text here<br><br><span style="color: 
 
rgb(40, 62, 151)"> 
 

 
some text here</span><br>Some text here</p> 
 
</td> 
 

 
<td colspan="2" style="background-color: rgb(41, 62, 151); height: 100px; width: 5%"> 
 
<br> 
 
</td> 
 

 
</tr> 
 

 

 
</tbody> 
 
</table>

Jede Hilfe dankbar! Vielen Dank im Voraus

Antwort

0

Viele E-Mail-Clients CSS-Unterstützung eingeschränkt haben, so dass der Stil-Attribut keine Wirkung haben können. Versuchen Sie, das Höhenattribut von td zu verwenden.

+0

hmm Ich habe das Höhenattribut in beiden tds versucht, die ich anpassen möchte, aber es scheint immer noch nicht zu funktionieren. –

Verwandte Themen