【发布时间】:2019-02-07 22:28:25
【问题描述】:
我正在发送多封电子邮件。他们共享布局的一部分需要左侧的白色和黄色设计。 table1 没有固定的高度,因为根据发送的电子邮件会有不同的内容。如何让 table2 完全填写高度?我正在使用第三方软件来生成 html,所以“花哨”的内联 CSS 是不行的。
<table name="table1">
<tr>
<td>
<table height="100%" name="table2">
<tr>
<td height="100%" width="10px" bgcolor="white"></td>
<td height="100%" width="30px" bgcolor="yellow"></td>
</tr>
</table>
</td>
<td>
text that can so on and on and on...</br>
more text</br>
even more.</br>
</td>
</tr>
</table>
【问题讨论】:
-
你不能使用内联css吗?
-
不。这是从第三方软件生成的 html,不允许您手动添加 html/css。它只是让您添加“表格”对象等。
-
在表格中你可以放置内联css还是过滤?
-
它不是被过滤掉的情况,是软件甚至不允许你输入内联css。
标签: html-table html-email