L
L
Lenar Fattakhov2014-09-17 17:47:19
HTML
Lenar Fattakhov, 2014-09-17 17:47:19

How to set the height of a cell in a table when laying out html emails?

When setting cellpadding, the height of the cell increases. In this case, it becomes 292px. And not in all mailers.

<table style="table-layout:fixed;" cellspacing="0" cellpadding="20" width="250px" height="250px">
    <col width="250px">
    <tr height="250px">
        <td height="250px" width="250px" style="background:#008fc8; overflow:hidden;">Произвольный текст</td>
    </tr>
</table>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Kirenkov, 2014-09-17
@fr_end

Oh, Gods... at least learn the syntax...
codepen.io/vitaliy_kirenkov/pen/vgKmB

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question