【发布时间】:2019-04-21 22:37:31
【问题描述】:
尝试完成最后一部分,即电子邮件页脚区域。
一个表格有4个链接,在web-view中很好,它们在水平线上。
在移动版本上,我尝试将它们分成 2 个一组。
表示顶部有 2 个链接,下方有 2 个链接。
问题是这需要使用内联 CSS 来完成,而在它自己的单独部分中没有 style。
<table border="0" cellpadding="0" cellspacing="0" id="Table5" width="100%">
<tr style="font-size: 11px; background-color: black;">
<td align="center">
<br>
<br>
<span style="color:#7A7A7A; line-height: 1.3; "><font face="Arial" size="1" ><b>GENERIC INFORMATION 123
<div style="line-height:1.3;">T 000 000 000 |
TEST@TESTING.COM<br></div></b></font></span><br>
<br>
<span style="color: rgb(221, 221, 221);"><font face="Arial" size="1"><b><a alias="" conversion="false" data-linkto="http://" href="google.com" style="color:#999999;text-decoration:none;" title=""><span style="padding:12px;">BOOK APPOINTMENT</span></a><a alias="" conversion="false" data-linkto="http://" href="google.com" style="color:#999999;text-decoration:none;" title=""><span style="padding:12px;">PRIVACY</span></a><a alias="" conversion="false" data-linkto="http://"google.com" style="color:#999999;text-decoration:none;" title=""><span style="padding:12px;">UNSUBSCRIBE</span></a><a alias="" conversion="false" data-linkto="http://" href="google.com" style="color:#999999;text-decoration:none;" title=""><span style="padding:12px;">CONTACT US</span></a></b></font></span><br>
<br>
</td></tr></table>
有什么建议吗? @media 目前是不可能的,因为它不能与内联 CSS 一起使用。
【问题讨论】:
标签: html css email html-table