Responsive email design means building a message that reads well on a narrow phone screen and a wide desktop client from one HTML file. The most reliable approach is mobile-first and defensive: start with a single-column layout that already works on a phone, let wider clients enhance it, and use media queries as an enhancement rather than the foundation. This matters because several widely used clients, including some configurations of Gmail and desktop Outlook, do not honour media queries in every situation.
This guide covers the three layout strategies (fluid, hybrid and responsive), a working code skeleton, rules for fonts, buttons and images on small screens, and a testing routine. Email client support changes over time, so check a current support reference such as caniemail.com for any property you rely on.
Three approaches: fluid, hybrid and responsive
| Approach | How it works | Strengths | Weaknesses |
|---|---|---|---|
| Fluid | Widths in percentages; content scales with the screen | Works without media queries | Limited control; very wide screens stretch |
| Hybrid (spongy) | Fluid columns with a maximum width plus conditional code for Outlook | Works well even where media queries are ignored | More complex markup |
| Responsive | Media queries change layout at breakpoints | Precise control where supported | Fails in clients that strip or ignore the query |
Most production templates combine the three: a fluid or hybrid base that is acceptable everywhere, plus media queries for refinements such as larger type on small screens. Treat a media-query-only design as fragile.
A mobile-first skeleton
Start with a centred container no wider than 600 pixels, built with tables because they behave consistently across email clients. Declare a viewport meta tag, set the width on the table as both an attribute and CSS, and make images fluid. Media queries then adjust only what needs adjusting.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="x-apple-disable-message-reformatting">
<style>
body { margin:0; padding:0; -webkit-text-size-adjust:100%; }
table { border-collapse:collapse; }
img { border:0; display:block; max-width:100%; height:auto; }
@media screen and (max-width:600px) {
.container { width:100% !important; }
.stack { display:block !important; width:100% !important; }
.pad { padding:16px !important; }
.btn a { display:block !important; }
}
</style>
</head>
<body style="margin:0;padding:0;background:#f4f4f4;">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0">
<tr><td align="center">
<table role="presentation" class="container" width="600" cellpadding="0" cellspacing="0" style="width:600px;background:#ffffff;">
<tr><td class="pad" style="padding:24px;font-family:Arial,sans-serif;font-size:16px;line-height:24px;color:#222;">
Hello, this text is readable on any screen.
</td></tr>
</table>
</td></tr>
</table>
</body>
</html>Some of this is defensive. The -webkit-text-size-adjust rule stops iOS from resizing text unexpectedly, and the role="presentation" attribute tells screen readers the tables are layout. See accessible HTML email for more on structure. Inline the critical styles too, because some clients strip the style block; email CSS support lists what is safe.
Media queries: where they work and where they do not
Apple Mail on macOS and iOS and many Android mail apps support media queries well. Gmail supports them in embedded style blocks in many cases, but support has historically differed by account type and app, and some third-party account setups are limited. Desktop Outlook for Windows uses Word's rendering engine and ignores media queries. Webmail clients change their behaviour over time, so never assume.
For that reason, design so that the unenhanced layout still works. If the media query is ignored, the reader should see a clean 600 px email scaled to the screen or, better, a single fluid column. Test with queries removed to check you have a graceful fallback.
- Use
max-widthqueries for small-screen overrides, with a breakpoint near 600 px. - Add
!importantto override inline styles in the query. - Keep rules simple: stacking columns, resizing images and increasing font sizes.
- Do not rely on complex selectors; support for them varies.
- Avoid dark-mode-only or other preference queries unless you have tested them. See email dark mode.
Stacking columns the hybrid way
A hybrid column layout lets two columns sit side by side on wide screens and drop onto separate lines on narrow ones without media queries. The pattern uses inline-block div elements with a maximum width, wrapped in conditional comments that supply table cells to Outlook for Windows.
<!--[if mso]>
<table role="presentation" width="600"><tr><td width="300" valign="top">
<![endif]-->
<div style="display:inline-block;width:100%;max-width:300px;vertical-align:top;">
<p style="margin:0;padding:12px;font:16px/24px Arial,sans-serif;">Left column</p>
</div>
<!--[if mso]>
</td><td width="300" valign="top">
<![endif]-->
<div style="display:inline-block;width:100%;max-width:300px;vertical-align:top;">
<p style="margin:0;padding:12px;font:16px/24px Arial,sans-serif;">Right column</p>
</div>
<!--[if mso]>
</td></tr></table>
<![endif]-->If the container is at least 600 px wide the two columns sit side by side. Below that each div takes the full width and wraps. Whitespace between inline-block elements can add a small gap, so keep the markup as shown or set font-size:0 on the parent and restore it inside the columns.
Typography, buttons and tap targets
| Element | Guidance |
|---|---|
| Body text | Around 16 px with generous line height; avoid going below 14 px |
| Headings | Scale down on mobile so they do not wrap onto many lines |
| Buttons | At least about 44 px tall; use padding on the link so the whole area is clickable |
| Link spacing | Leave space between links to avoid mis-taps |
| Line length | Keep the text column narrow; a single column avoids tiny text |
| Colour contrast | Check contrast ratios so text reads in sunlight; see accessibility guidance |
Bulletproof buttons are built from a table cell with padding and a link with a background, not an image, so they remain visible when images are blocked. Techniques are covered in HTML email links and buttons. Font choice matters too; stick to web-safe stacks as explained in best email fonts.
Images on small screens
- Use
max-width:100%andheight:autoso images scale. - Always set the
widthattribute for Outlook, and use alt text for blocked images. - Provide images at about twice the display size for sharp rendering on high-density screens, while keeping file weight reasonable.
- Do not place critical text only in images.
- Keep a sensible text-to-image balance. See text to image ratio.
- Consider a different crop on mobile only when you have tested that the technique works in your target clients.
Content strategy for small screens
Responsive design is about content as much as code. On a phone the reader sees a few hundred words at most before deciding to scroll, so put the main message and the primary action near the top. Use short paragraphs, descriptive headings and one dominant call to action. Secondary content, such as footers with several link columns, can collapse into a simple stacked list.
Consider the reading context. Many emails are opened one-handed, on a moving train or outdoors, so high contrast, large tap targets and uncluttered spacing are practical rather than cosmetic. Avoid layouts that need horizontal scrolling or pinch zoom. If a table of data is essential, use a simplified list on small screens, or link to a web page where the full table can be viewed properly.
Keep the plain text alternative in step with the HTML part. It is what some clients, accessibility tools and spam filters read, and a missing or stale text part can hurt both usability and deliverability. See newsletter design and layout for how header, body and footer sections work together.
Testing routine
- Send test emails to real accounts on iPhone, Android, Gmail (web and app), Outlook (desktop and web) and Apple Mail.
- View in dark mode and with images off.
- Resize a desktop window to check wrapping, and rotate phones.
- Use a rendering preview tool if available, and remember previews do not match real clients perfectly.
- Click every link and button on a phone.
- Check total size is small enough to avoid clipping; Gmail clips long messages. See creating and testing HTML emails.
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| Layout stays desktop width on phone | Media query ignored or stripped | Use fluid or hybrid structure; inline critical styles |
| Columns do not stack | Fixed widths in attributes | Use max-width and the stack class with !important |
| Tiny text on iPhone | No text size adjustment or small base size | Set base font to 16 px and text-size-adjust |
| Outlook shows broken layout | Hybrid markup lacks conditional comments | Add MSO table wrappers |
| Buttons hard to tap | Small links without padding | Put padding on the link and increase height |
| Gmail clips message | HTML larger than the clipping limit | Reduce markup and inline CSS; link to a web version |
Send and test your templates Deliver HTML email through an SMTP relay or API and review results before launch.
References and further reading
Frequently asked questions
Do all email clients support media queries?
No. Apple Mail and many mobile apps do, but desktop Outlook ignores them and other clients vary, so build a layout that works without them.
What width should a responsive email be?
A container of about 600 px is the common maximum, with fluid behaviour below that width.
What is a hybrid email layout?
A structure using fluid inline-block columns with maximum widths plus conditional code for Outlook, so columns stack without media queries.
How big should buttons be on mobile?
Aim for roughly 44 px tall with padding on the link so the whole area is tappable.
How should I test a responsive email?
Send real tests to phones and the main clients, view with images off and in dark mode, and click every link.