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 Going Mobile Considerations for Mobile-friendliness

Jim brown
Jim brown
1,328 Points

Inline CSS, media queries & email clients dropping them

At 3:05, Fabio claims that with !important declarations, inline CSS from the email will be overwritten.

A couple videos ago, he was very clear that (certain) email clients cut out the <body> &<style> tags. He even gave tools to automate the inline CSS writing.

So now I'm confused. What really happens with these tags and how do I know which client reacts differently from another? How can I have some certainty while writing, before having to test them all out?

Thanks for answering!