为什么 Gmail 会阻止电子邮件中的 CSS? [英] Why is Gmail blocking CSS in emails?

查看:18
本文介绍了为什么 Gmail 会阻止电子邮件中的 CSS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在电子邮件中使用了 CSS 并将其发送出去.

I used CSS in my email and sent it out.

当我在 Gmail 中收到电子邮件时,所有 CSS 都被禁用;但是,当我在 Thunderbird 或 Outlook 中检索到电子邮件时,一切正常.

When I received the email in Gmail, all the CSS was disabled; however, when I retrieved the email in thunderbird or outlook, everything is OK.

我该如何解决这个问题?

How would I fix this?

推荐答案

Gmail 不会完全阻止 CSS.它仍然支持内联样式.为什么它不支持样式块,我不知道.要对各种 webmail 和电子邮件客户端中的 CSS 支持有一个很好的概述,这里有一个很好的.http://www.campaignmonitor.com/css/

Gmail doesn't block CSS totally. It still supports inline style. Why doesnt it support style block, I've no idea. To have a good overview of CSS support in various webmail and email clients, here's a good one. http://www.campaignmonitor.com/css/

这篇关于为什么 Gmail 会阻止电子邮件中的 CSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆