【发布时间】:2016-05-19 18:56:58
【问题描述】:
以下简单的 CSS 可在多个邮件客户端中使用,但颜色和字体粗细未在 Outlook 2016 中应用。
<style type="text/css">
table {width: 100%}
td:first-child {background-color: #FFDAB9 ; width: 17%; font-weight:bold}
</style>
宽度设置是被尊重,所以我的结论是支持first-child伪类。
如何控制background-color和font-weight?
【问题讨论】:
-
尽管您得出结论,但似乎可能不支持
first-child- campaignmonitor.com/css/b -
很奇怪。不确定如何应用
width设置。
标签: css outlook css-selectors