Free Fluid-Hybrid Responsive Email Template in Only 36 Lines of Markup

Jeffrey Hoffman
Dec 4, 2015 · 2 min read

Creating a modern, responsive HTML email using the popular Fluid-Hybrid technique normally requires hundreds of lines of code chockablock full of nested tables, floating divs, Outlook-conditional logic and a wee bit of luck. Its complexity requires lengthy tutorials, layout calculators and boilerplate code generators — and in the end, you’re left with a staggering amount of markup that is fragile and hard to maintain.

Thankfully, it doesn’t have to be that way. There is a faster, easier way to build modern responsive emails. Take a look! Here’s the complete markup for a three-column table that fluidly drops to vertical rows on mobile devices:

<!-- This outer table wraps the entire email and provides
a consistent background color in all clients. -->
{table bgcolor=#fff width=100%}
{td align=center}

That's it! 36 lines of easy-to-read, easy-to-maintain markup that, when preprocessed by Inkcite, produces a Fluid-Hybrid responsive email that's rock solid in 40+ email clients and mobile devices. See for yourself - here's the Litmus compatibility test results.

How it Works

Inkcite is a free, open-source framework for building modern, responsive emails. Inkcite makes it easy for email developers to keep their code DRY (don’t repeat yourself) and integrate versioning, compatibility testing and minification into their workflow. Installation and getting started instructions available here.

Inkcite provides a standard, familiar markup designed for email. Inkcite transforms {table}, {td}, {img} and a dozen other tags into HTML that displays consistently across email clients. Using Inkcite's powerful mobile-attribute, you add cutting-edge responsiveness with just a few keystrokes. When set to fluid-drop Inkcite automatically injects all of HTML necessary to make the resulting <table> fluidly drop. (Inkcite also offers right-to-left fluid-stack and a variety of media query-based responsive modes when you want more control.)

Inkcite frees you from having to worry about inline styles, media queries, conditional logic and client rendering quirks - allowing you to focus on the message and design while preserving the control you expect from hand-coded emails.

Inkceptional

Tips for coding engaging, responsive emails with modern tools by the creator of Inkcite, the modular design system for modern, responsive email development. http://inkcite.com #emailgeek #MakeEmailBetter

Jeffrey Hoffman

Written by

Creator of Inkcite, the modular design system for modern, responsive email development. http://inkcite.com #emailgeek #MakeEmailBetter

Inkceptional

Tips for coding engaging, responsive emails with modern tools by the creator of Inkcite, the modular design system for modern, responsive email development. http://inkcite.com #emailgeek #MakeEmailBetter