Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design HTML Email Design Designing Email with CSS Styling with Limited CSS

Gregory Ledger
Gregory Ledger
6,116 Points

Why do Mailchimp templates include styles in the header file? In fact a lot of styles in the header file?

Templates written for mailchimp that I have downloaded from paid sites all have the same styles and mcn classes in the header.

Is this inlined when the email is sent?

So how do I create a universal email that Mailchimp and other email clients can read (and especially look good in Outlook 2007?

1 Answer

alexandraz
alexandraz
9,587 Points

Yes, MailChimp automatically inlines all css styles when sending the email. mcn classes are not needed for MailChimp to read the template. You can definitely simplify any exported mailchimp template an cut several layers of nested tables to make it easier to work with in the code. I suggest creating a few boilerplates from mailchimp templates and other tutorials from the web combined.