Ensure that table styles are only applied to the encapsulating table and not to tables in the e-mail body

master
Sven Slootweg 13 years ago
parent d7f1a35ba5
commit d0d12a1ccb

@ -14,6 +14,7 @@
%(versions)s
<table class="message">
<tbody>
<tr>
<th>From:</th>
<th>To:</th>
@ -29,6 +30,7 @@
%(body)s
</td>
</tr>
</tbody>
</table>
</div>
</body>

@ -45,14 +45,14 @@ table.message
margin-top: 20px;
}
table th, table td
table.message > tbody > tr > th, table.message > tbody > tr > td
{
text-align: left;
border: 1px solid #313131;
padding: 5px 7px;
}
table th
table.message > tbody > tr > th
{
background-color: #313131;
color: white;

Loading…
Cancel
Save