php类内联css样式? [英] php class to inline css styles?

查看:358
本文介绍了php类内联css样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我结束了MailChimp的css内联 http://www.mailchimp.com/labs/inlinecss.php我想知道是否有任何类可以做到这一点,我很喜欢把它在我的电子邮件代码,而不是一路过去到MailChimp。



基本上我正在寻找代码,页面后面或者一些非常相似的东西。



解决方案

您可以尝试 Premailer 。来源可在 Github 上使用。 (只是注意到你的标签是PHP和Premailer是Ruby,所以这可能不算作真正的答案你...)


I was over at MailChimp's css inliner http://www.mailchimp.com/labs/inlinecss.php and I was wondering if there are any classes out there that can do this, I'd love to have it in my email code instead of going all the way over to MailChimp.

Basically I'm looking for the code, behind the page or something very similar.

Cheers.

解决方案

You can try Premailer. The source is available on Github. (Just noticed your tag is PHP and Premailer is Ruby, so this might not count as a real answer for you...)

这篇关于php类内联css样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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