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

master
Sven Slootweg 12 years ago
parent d7f1a35ba5
commit d0d12a1ccb

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

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

Loading…
Cancel
Save