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

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

问题描述

我已经在MailChimp的css内部人员 http://www.mailchimp.com/labs/inlinecss .php ,我想知道是否有任何课程可以做到这一点,我很乐意在我的电子邮件程式码中,而不是一直运行到MailChimp。

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.

干杯。

推荐答案

你可以尝试 Premailer 。来源可以在 Github 上获得。 (刚刚注意到您的标签是PHP,而且Premailer是Ruby,所以这可能不算作您真正的答案)。

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天全站免登陆