3 ms·
Handy webapp to make CSS inline (for HTML emails etc)
- geuis 17y agoThis is awesome. I occasionally do email mailouts for an old friend and its normally pretty manual. I was thinking about getting around to building something like this, but this works perfectly!
- hachiya 17y agoThis is very nice. I am interested in whether or not an open source library was used for much of the processing, or if it was written from scratch entirely. If there is no open source library available to convert stylesheets+HTML to inline CSS, it would be a good idea to consider open sourcing some of the code behind this app. Either way, very nice app - great job!
- davecardwell 17y agoThis is going to be a huge help in the day job - thanks. Here is a related article I’ve found useful recently: http://www.campaignmonitor.com/css/ http://www.campaignmonitor.com/css/
- jbrun 17y agoCool, but might I ask, why would I need this? If an email client can deal with html, can't it deal with CSS as well?
- teej 17y agoYou can support CSS and not the <style> tag. This tool converts a stylesheet to inline styles for you. One great example for usage is in an eBay auction.
- m_eiman 17y agoEmail clients are known for handling HTML in a variety of broken ways, one worse than the other. From what I remember Notes is the worst one to handle, followed by Outlook. Since a few people use those clients, writing stuff they can display is required. A funny thing I've read is that Outlook 2007 is apparently worse than the 2003 version. See e.g. http://www.google.se/search?q=outlook+html+rendering http://www.google.se/search?q=outlook+html+rendering
- jrnkntl 17y agoI always use this one: http://code.dunae.ca/premailer.web/ http://code.dunae.ca/premailer.web/ "Premailer is written in Ruby, with a lot of help from Hpricot"
- lhorie 17y agoIt seems to do what it advertises well, but it's still not very useful in real life: it doesn't warn when you use poorly supported styles, e.g. background-image isn't supported in Outlook 2007.