我正在生成一个使用内部样式表的html电子邮件。
<!doctype html>
<html>
<head>
<style type="text/css">
h2.foo {color: red}
</style>
</head>
<body>
<h2 class="foo">Email content here</foo>
</body>
</html>
在Gmail中查看时,内部样式表中的所有样式似乎都被忽略了。Gmail似乎忽略了除内联规则之外的所有样式。
<h2 style="color: red">Email content here</foo>
当使用Gmail查看HTML电子邮件时,这是我唯一的选择吗?
https://stackoverflow.com/questions/9056172
复制相似问题