Auto CSS head styles to body styles?
March 28, 2008 8:25 AM   RSS feed for this thread Subscribe

What's that program that takes CSS styles defined in the head of an HTML document and applies them to each element's style attribute? It's for HTML email-making, where such a nonsensical thing is desirable.

I believe it was a command line program, and I believe it was written in Python. I've done a good bit of Googlin', and I'm starting to think I imagined the whole thing.
posted by Plug Dub In to computers & internet (6 comments total) 7 users marked this as a favorite
Premailer: http://code.dunae.ca/premailer.web/
posted by piro at 8:31 AM on March 28 [6 favorites]


Brilliant. Thank you!
posted by Plug Dub In at 8:36 AM on March 28


Oh my gosh thank you for this.
posted by cowbellemoo at 8:39 AM on March 28


Please note that if you've been out of the HTML email business for a while, Outlook 2007 uses the freakin' MS Word HTML rendering engine, so much of your CSS may be for naught.
posted by mumkin at 11:37 AM on March 28


omg i had no idea such a thing existed although i've looked for it every time i've built a newsletter template.

i am now so unbelievably happy.
posted by fishfucker at 1:48 PM on March 28


Agh! I wish I'd known about this a couple months ago when I first had to wade through this hell. Thanks piro.
posted by stephthegeek at 12:06 AM on March 29


« Older I'm a general geek. I.e. I can...   |   Turning 24 in Disney World... ... Newer »

You are not logged in, either login or create an account to post comments



Related Questions
HTML Email Best Practices July 16, 2008
It's not spam, I swear. August 15, 2006
html email: css or not css? December 5, 2005
Secure form mail script? November 29, 2005
What's the safest way to put a clickable e-mail... June 25, 2005