Email Rendering Issues: Find the Cause From What You See
Each symptom has a client-specific cause: Outlook Classic's Word engine ignores max-width and background images, Gmail removes CSS it can't parse and clips at 102KB, and dark mode recolours logos; find what you see and follow the link to the fix.
No signup · Five clients free, Outlook Classic included · All 21 with an account
The checker needs a computer screen.
A free account opens all 21 clients and keeps your checks for 7 days. Create a free account →
Philippe Kam, founder of Emailens · Published 6 Oct 2026 · Updated 28 Oct 2026
@emailens/engine 0.19.3 · data last changed 10 Nov 2026
Part of the HTML email guide · all guides
An email that looked right in your browser arrives with its columns stacked, its footer missing or its logo gone. None of this is random: each symptom has a cause you can name and a fix someone has already written down. Find what you are seeing below, read the cause, and follow the link to the fix.
Why the same email breaks differently
Outlook Classic on Windows lays out email with Microsoft Word's engine. Gmail on the web and in its apps passes your HTML through a sanitizer before the browser draws it. Apple Mail on macOS and iOS uses WebKit, and the new Outlook, Thunderbird and Yahoo use modern browser engines with their own wrapper styles and dark-mode handling. That is why the symptoms below are grouped by client: the same mistake shows up differently in each.
In Outlook Classic on Windows
The email stretches across the screen, or columns stack instead of sitting side by side
Word ignores max-width, min-width and display: flex, so a 600px container has no limit. Wrap it in a fixed-width table that only Outlook sees: see Outlook ghost tables.
The hero background image is missing
Word strips both CSS background-image and the HTML background attribute. Draw the image with VML instead: see background images in Outlook.
Thin white lines cut through images or table cells
On Windows display scaling of 125% (120 DPI) or 150% (144 DPI), Word rounds table and cell sizes to fractional pixels and leaves gaps. Declare <o:PixelsPerInch>96 in an Outlook-only block in the head and use border-collapse: collapse; the details are in background images in Outlook and the Outlook CSS guide.
Buttons further down render as blank coloured blocks, and the hero background is gone
A VML button (<v:roundrect>) was nested inside a VML background (<v:rect>). Outlook drops the container's fill and stops drawing text in later VML shapes. Don't nest VML shapes; use a table-cell button over the background. See background images in Outlook.
Rounded buttons and cards have square corners
border-radius is not supported in Outlook Classic. The fixes are in Outlook CSS fallbacks.
Styles from a second class are ignored
With stacked classes such as class="btn primary", Outlook's Word parser applies only the first class when the rules conflict. Merge them into one class, such as .btn-primary, or inline the declarations that matter.
Lines of text are clipped or spaced too far apart
Word handles line-height its own way. Set it in pixels and add mso-line-height-rule: exactly; the mso- properties are covered in Outlook email templates.
In Outlook.com and the Outlook apps
The second half of the email loses its styling
Minified CSS with two closing braces side by side (}}), for instance a rule closing inside a media query, makes Outlook.com and Outlook on iOS and Android discard the rules that follow. Keep a space or newline between the braces.
In Gmail
The footer and unsubscribe link are gone, and the email ends with “[Message clipped]”
The HTML is over 102KB, so Gmail cuts it off and hides the rest behind a link, tracking pixel included. See why Gmail clips emails and measure with the email size checker.
Media queries and classes don't apply, though the email is under 102KB
Gmail keeps <style> only in the head and only up to 16KB; a block in the body or over the limit is removed. Its apps also drop the block for accounts that are not Google accounts. See the Gmail HTML email guide.
The whole style block vanishes, or one element loses every inline style
Gmail's parser rejects CSS it can't read. A space-separated colour such as rgb(30 41 59) in a <style> block removes the whole block; in a style attribute, it drops every declaration on that element. A syntax error such as an unclosed brace does the same to a block. Write colours with commas, rgb(30, 41, 59), and inline the styles your layout depends on.
Dates, addresses and phone numbers turn blue and underlined
Gmail detects them and wraps them in links. Put them in a link with inline color: inherit; text-decoration: none;, or add a zero-width non-joiner (‌) between the digits.
Small print is bigger than the headline on a phone
Mobile WebKit and Blink can enlarge text under 13px in multi-column layouts. Add -webkit-text-size-adjust: 100% and -ms-text-size-adjust: 100% to the body and avoid sizes under 12px.
In Apple Mail and iOS Mail
The email zooms out or scrolls sideways on an iPhone
Something, often one image or cell, is wider than the screen, even by 1px. Give images width: 100%; max-width: 100% and include the viewport meta tag; the layout side is in the responsive email design guide.
An image looks squished until it finishes loading
A width attribute with inline height: auto can distort the image in older WebKit before it loads. Declare matching dimensions or an explicit height.
Dates, flights and calendar items are underlined
iOS data detectors turn them into links. Neutralise them with a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; }.
In dark mode
A dark logo disappears
The client turned a white background dark and left the dark transparent logo on it. A light outline or glow around the logo, or a separate light version, keeps it visible; see the dark mode email guide.
Colours change even though you wrote dark-mode styles
Not every client applies prefers-color-scheme; some, such as Gmail on Android and Outlook on Windows, recolour the email themselves. What each one does is in the dark mode email guide. Preview both modes in the dark mode preview tool.
In emails built with a framework
React Email components leave coloured gaps in Outlook
withMargin adds inline margins that Outlook mishandles. See React Email troubleshooting.
Tailwind styles are missing in Gmail
Tailwind v4 emits CSS that inliners strip or Gmail's sanitizer rejects. See Tailwind v4 emails in Gmail.
Outlook swallows the rest of an edited MJML email
Hand-editing compiled MJML often deletes the closing half of an Outlook conditional table, and Outlook hides everything after it. Edit the MJML source and recompile; see the MJML guide.
Catch them before they ship
Most of these show up in a compatibility check before anyone opens the email: paste your HTML into the CSS compatibility checker. The full pre-send checklist and a workflow you can run on every change are in how to test HTML emails.
Questions
Why does my email look different in every client?
Because each client draws it with a different engine. Outlook Classic on Windows uses Microsoft Word, Gmail runs your HTML through a sanitizer before a browser draws it, and Apple Mail uses WebKit. The same markup meets three sets of rules, so anything beyond tables and inline styles needs a fallback somewhere.
Why do dates and phone numbers in my email turn blue?
Gmail and iOS Mail detect dates, addresses and phone numbers and turn them into links in their own colour. Wrap them in a link styled with color: inherit and text-decoration: none, add a zero-width non-joiner (‌) between the digits, or, for iOS, add an x-apple-data-detectors rule that inherits colour.
Why did half my email lose its styles in Outlook.com?
Look for two closing braces side by side (}}) in minified CSS, such as a rule closing inside a media query. Outlook.com and the Outlook mobile apps discard the style rules that follow them. Configure your minifier to keep a space or newline between the braces.
Your next question
Also useful: HTML email checker · border-radius in Outlook Classic: the fix · display:flex in Outlook Classic: the fix
Paste the email that broke.
No signup · Five clients free, Outlook Classic included · All 21 with an account
The checker needs a computer screen.
Get new email CSS fixes by email, or follow by RSS.