0
表有一个切片图像作为体:响应电子邮件:HTML表格文字在图像
我怎么能acomplish呢?我想在两个圆圈内插入文字。 3圈图像只有一个图像。
我的表已经响应,如果我把这个图像作为图像的一部分,它已经被调整大小,但是这些单词是不可读的。当我在营销云中使用动态内容时,我需要将其作为文本。
对此提出建议?
table.moduleSection td.bg img {
height: auto;
width: 100%;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
-ms-transition: all 1s ease;
transition: all 1s ease;
position: relative;
}
table.moduleSection td.bg p {
width:100%;
height: 100%;
}
<!-- 4 START MODULE -->
<table class="moduleSection" width="640">
<tr>
<td valign="top" height="100%" class="bg" align="center" bgcolor="#ffffff" width="100%" style="font-family: Arial, sans-serif; font-size: 14px; color:#233251;line-height: 20px; margin: 0;">
<img src="http://single-image-here" alt="">
<p>Here some goes text</p>
</td>
</tr>
</table>
<!-- 4 END MODULE -->
哪里文本您有麻烦?此外,你的表格标记缺少开放的'table','tr'和'td'标签。此外,使用'table'布局被认为是不好的做法,嵌套表格更是如此。 –
小心你的代码,看起来这最后三个标签是多余的''。 –
是的,表格很糟糕,我们比较老的电子邮件客户端。使用div和浮动文本将成为一种选择?是否更容易完成? – srocksss