Sub topic 6
Checking rendering across clients, devices and dark mode
This chapter assumes you can send test emails from your platform, know what a seed list is, and can read basic HTML. Rendering testing answers one question: does the message look and work the way you designed it for the people who will open it?
Why rendering differs
An email is HTML, but it is not displayed by one browser. Each email client (the app or website a person reads mail in) uses its own rendering engine and applies its own rules.
- Desktop Outlook for Windows uses Microsoft Word's engine. It ignores some CSS, such as background images and certain spacing rules.
- Gmail may strip or rewrite styles, and it limits how much CSS it accepts.
- Apple Mail supports modern CSS and is the most forgiving.
- Mobile apps resize the layout to a narrow screen.
The same file can look correct in one client and broken in another. This is why you test in more than one place.
Choose what to test
You cannot test every client. Look at your own list's data first. Most platforms report which clients and devices opened past campaigns. Pick the top five to eight combinations, then add one or two known troublemakers, such as desktop Outlook.
A practical starting set:
| Area | Examples to cover |
|---|---|
| Webmail | Gmail in a browser, Outlook.com |
| Desktop apps | Apple Mail, Outlook for Windows |
| Mobile | iPhone Mail, Gmail app on Android |
| Display mode | Light and dark |
Two ways to check
- Real test sends. Send the message to seed addresses that you can open in real clients. This is the most accurate method, but it covers only the accounts and devices you own.
- Preview tools. Many platforms and third-party services render screenshots of your email in dozens of clients. They are fast and broad, but they are approximations. Treat a screenshot as a warning sign, then confirm important problems in a real client.
Use previews for breadth and real sends for the clients that matter most.
What to look for
Check each client against the same short list:
- The layout holds. Columns stack or shrink on a narrow screen instead of running off the edge.
- Text is readable without zooming. Body text of about 14 to 16 pixels is a common minimum on mobile.
- Buttons are large enough to tap, and the spacing around links keeps them from being hit by mistake.
- Images load, and the message still makes sense with images turned off. Some clients block images by default, so write useful alt text and set a background color behind any text placed on an image.
- Fonts fall back sensibly. Custom web fonts often do not load, so name a safe fallback font.
- The message is not clipped. Gmail cuts off messages above roughly 102 KB of HTML and shows a "View entire message" link, which can hide your footer and tracking.
Dark mode
In dark mode, a client changes colors to suit a dark background. Clients handle this in three ways: some leave your colors alone, some lighten dark text and darken light backgrounds, and some invert colors fully. You cannot control which one applies, so test for the results.
Common failures are:
- A logo with a transparent background and dark lettering that disappears on a dark surface.
- Text that turns low contrast after the client changes only one of the text or background colors.
- White-edged images that look like boxes on a dark background.
Fixes include using PNG logos with a thin light outline or a built-in background, avoiding pure white and pure black in your design, and adding a prefers-color-scheme: dark media query where clients support it.
<meta name="color-scheme" content="light dark">
<style>
@media (prefers-color-scheme: dark) {
.body-text { color: #e8e8e8 !important; }
.page-bg { background-color: #1b1b1b !important; }
}
</style>Support for this query varies by client, so it improves some clients and does nothing in others. Always view the result yourself.
Exercise
Exercise
A preview tool shows your header image missing in desktop Outlook, but your real test send to Gmail looks fine. What should you do before approving the campaign?
Show answer
Treat the preview as a warning, since previews are approximations. Confirm in a real Outlook client if you can. Either way, make the header safe: add alt text and a solid background color behind it so the message still reads well if the image does not appear, then retest.