
When an email looks correct in a browser but breaks in an inbox, debug the received message and the specific client. Email clients support different subsets of HTML and CSS; there is no single browser preview that proves universal rendering.
Identify the failure before editing
Send the exact campaign through the intended provider to accounts you control. Record the client, device, account, and whether images were enabled. Compare the received message with the original HTML and inspect the message source. This separates a markup problem from provider rewriting, blocked assets, or client-specific behavior.
Keep a small reproduction: the received .eml or source, a screenshot, the affected client/version, and the smallest HTML section that still fails. If the screenshot is broken but the source has the correct content, investigate CSS or client rendering. If the link target changed, inspect provider tracking rewrites. If the message is absent, this is a delivery/authentication issue, not an HTML layout bug.
Common fixes
Columns collapse or drift: use nested tables for the main layout, set widths explicitly, and test a narrow viewport. Avoid relying on CSS grid or flexbox for essential structure.
Styles disappear: inline critical declarations, use simple selectors, and remove external stylesheets and @import. Keep a small embedded style block only for progressive enhancements.
Images overflow: set a fluid width and a maximum width, include dimensions, and add meaningful alt text. Host images over HTTPS and test with remote images blocked.
Buttons look like plain links: use a table-based button with a clear text link fallback. Verify padding, contrast, and tap target in actual mobile clients.
Fonts change: use a system-font fallback stack. Many inboxes ignore web fonts; avoid placing essential text inside an image.
Test changes safely
Change one class of issue at a time and keep a known-good copy. Use the HTML email previewer for layout checks, the compatibility checker for common static risks, then test the received message in the clients your audience uses. The checker is not a rendering engine.
Worked example: a two-column feature row breaks in Outlook
Suppose Chrome shows two cards side by side but Outlook stacks their text over the images. First replace the critical two-column flex container with a 100%-wide presentation table containing two fixed-width cells. Add a narrow-screen media query only as an enhancement, not as the sole layout. Give each image explicit dimensions and display:block; use cell padding instead of relying on column gaps. Send the same message to Outlook classic and Outlook web. If only classic fails, keep the fallback for that client rather than layering a global CSS reset that damages Gmail mobile.
Avoid “fixes” that hide content, remove accessible text, or depend on user-agent detection. A robust email remains understandable with images off, CSS reduced, and plain text available. See HTML email best practices and how to test HTML emails for broader workflows.