possible duplicate: What tools to automatically inline CSS style to create email HTML code ?
note from author: Oh yeh, definitely duplicate. Sorry.
In general, HTML emails do not support proper CSS techniques.
However, it's nice to develop in these techniques because it makes it a lot quicker to play around with changes etc. (I don't need to sell the benefits of CSS to you all!)
Is there a tool that will take lovely HTML and turn it into nasty email compatible HTML with all the styles extrapolated from the CSS files and placed inline?
Even though 100% compatibility cannot be achieved due to the numerous differences in email clients out there, a tool that helps the process would be very useful, even if it simply takes the CSS and inlines it.
Create a new email message. Use the "Insert" menu in most programs to insert the HTML file into the email body. Otherwise, for Mac OS X Mail, type the URL address from Step 4 in your Safari Web browser and press the "Command" and "I" buttons on your keyboard to automatically load the HTML in the message.
Using CSS. CSS can be added to HTML documents in 3 ways: Inline - by using the style attribute inside HTML elements. Internal - by using a <style> element in the <head> section.
There are three ways you can use to implement CSS into your HTML: internal, external, and inline styles.
Campaign Monitor have an excellent guide to CSS support in email clients as of 2008. It's very comprehensive.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With