Skip to content
Advertisement

php class to inline css styles?

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.

Advertisement

Answer

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…)

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement