css - Gmail 中的 Mailchimp/Foundation Inc 问题

标签 css email

我用 Inc. 编写了一个自定义 mailchimp 模板。 一切看起来都如我所料。但是我在桌面 View 中使用 GMAIL 时遇到了一些问题: 移动 View 的图像( Logo )在 GMAIL 桌面 View 中可见。 GMAIL 中不会处理“show-for-small”类...

https://jsbin.com/lewovi/edit?html,output

GMAIl-Account. Desktop and Mobile Logos are visible

Apple Mail

最佳答案

您是否尝试过使用内联样式而不是使用类?

来自 Mailchimp 页面 ( http://kb.mailchimp.com/campaigns/ways-to-build/css-in-html-email )

Use inline CSS Because browser-based email applications, such as Gmail, strip out head and body tags by default, always use inline CSS over embedded CSS.

关于css - Gmail 中的 Mailchimp/Foundation Inc 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34338020/

相关文章:

python - 如何使用 Selenium Python 获取文本颜色

css - css 中的导航索引属性

html - 仅更改下拉子菜单定位 CSS

php - CodeIgniter 和 gmail 的 SMTP 错误

php - 在循环中使用 PHP 邮件强制用户等待页面显示

iphone - PreventAppSheet(仅在邮件中使用)- iOS 邮件负载配置

javascript - Bootstrap 3 弹出窗口显示一个并隐藏其他不起作用

显示默认字体系列后延迟显示 HTML 字体系列

python - 如何使用 Python 生成和打开 Outlook 电子邮件(但不发送)

linux - 您会选择哪个邮件服务器来开发您的产品