Auto CSS head styles to body styles?
March 28, 2008 8:25 AM   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 answers total) 6 users marked this as a favorite
 
Premailer: http://code.dunae.ca/premailer.web/
posted by piro at 8:31 AM on March 28, 2008 [7 favorites]


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


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


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, 2008


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, 2008


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, 2008


« Older 'General Geek' Seeks Employment?   |   I'm going to Disney World!!! (Crap, what do I do... Newer »
This thread is closed to new comments.