Skip to content
Help center

The Outlook email rendering guide

Most email clients render HTML with a browser engine. Classic Outlook for Windows doesn’t: it uses Microsoft Word. That one fact explains nearly every “it looked fine everywhere except Outlook” story. This guide explains what Word supports, what it ignores, and the patterns that make an email look right in Outlook and everywhere else.

It’s written for anyone who builds or sends email from Outlook: marketers, sales teams, internal comms and developers. OFT Maker applies everything here automatically, but the reasons are worth knowing.

Which Outlook are we talking about?

“Outlook” is several different apps with different rendering engines:

AppRenders email withWhat to expect
Classic Outlook for Windows (Microsoft 365, Outlook 2016–2021)Microsoft WordThe hard one. Most of this guide is about it.
New Outlook for WindowsA browser engine (Edge WebView2)Close to Outlook on the web. Modern CSS mostly works.
Outlook on the web and Outlook.comThe browserGood support, with some CSS rewritten or removed.
Outlook for MacWebKitGood support, close to Apple Mail.
Outlook for iOS and AndroidThe phone’s web viewGood support, including media queries.

Classic Outlook still matters. It’s the default in many companies, Microsoft has said it will stay supported for years (publicly through at least 2029), and it’s where people open .oft templates. An email that survives classic Outlook works in every other Outlook too.

Why Word?

Since Outlook 2007, classic Outlook has used Word’s HTML engine both to display email and to write it. Word was built for documents, not web pages, so it understands a subset of HTML and CSS from the early 2000s. Microsoft documented that subset when it made the change, and it hasn’t grown much since.

Two consequences follow:

  1. Display: CSS that Word doesn’t understand is ignored, silently.
  2. Re-serialization: when you open a message or template in classic Outlook, edit it and send it, Word rewrites the HTML in its own format. Anything it didn’t understand is gone from the sent message, even for recipients whose apps would have supported it.

The second point is the one most guides miss. It’s why an email that tested perfectly can arrive changed when a colleague forwards it, and why a template has to be designed to survive Word, not only to display in it.

Layout: tables, not CSS

Word doesn’t support flexbox, grid, float or position, and its support for max-width, margin and padding on div, p and a elements is unreliable. What it does handle well is the HTML table.

So every reliable email layout is built from nested tables:

<table
  role="presentation"
  width="600"
  cellpadding="0"
  cellspacing="0"
  border="0"
  style="border-collapse:collapse;mso-table-lspace:0pt;mso-table-rspace:0pt;"
>
  <tr>
    <td style="padding:24px 32px;background-color:#FFFFFF;">
      <!-- content -->
    </td>
  </tr>
</table>

A few details make the difference:

  • role="presentation" tells screen readers the table is for layout, so they read the content and not “table, row 1, column 1”.
  • Padding goes on the td. It’s the only element where Word applies padding consistently. Spacing between elements is padding on cells, never margins.
  • border-collapse:collapse and the mso-table-lspace / mso-table-rspace properties remove the small gaps Word adds around tables.
  • Zero the default margins on headings and paragraphs (margin:0) and control spacing with cell padding instead. Word adds its own paragraph spacing otherwise.

Columns that stack on phones: ghost tables

On a phone, two columns side by side are hard to read, so most emails stack them. The usual technique is “hybrid” or “fluid” columns: div elements with display:inline-block and a max-width, which sit side by side when there’s room and wrap when there isn’t. Word ignores max-width, so in classic Outlook those divs would stretch to full width.

The fix is a ghost table: a table that only Outlook sees, inside MSO conditional comments, giving each column a fixed width.

<!--[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;">Left column</div>
<!--[if mso]></td><td width="300" valign="top"><![endif]-->
<div style="display:inline-block;width:100%;max-width:300px;vertical-align:top;">Right column</div>
<!--[if mso]></td></tr></table><![endif]-->

Other clients skip the conditional comments and see fluid columns. Outlook sees a two-column table.

When a message is sent from classic Outlook, Word re-serializes the HTML and the stacking is lost, so recipients on phones see the desktop layout scaled down. That’s why text in multi-column sections should be at least 14 px: it stays readable when scaled.

Conditional comments

MSO conditional comments are HTML comments that Outlook’s Word engine reads and everyone else ignores:

<!--[if mso]> Only classic Outlook sees this. <![endif]-->
<!--[if !mso]><!--> Everyone except classic Outlook sees this. <!--<![endif]-->

They’re how emails give Outlook its own markup (ghost tables, VML, font overrides) without affecting other clients. They must be balanced: an unclosed conditional can hide the rest of the email in Outlook.

Buttons: VML for rounded corners

Word ignores border-radius, and it applies padding on links unreliably, so a styled link becomes plain text in a thin box. The bulletproof pattern draws the button with VML (Vector Markup Language), a legacy Microsoft format that Word still renders, and gives everyone else a styled link:

<!--[if mso]>
  <v:roundrect
    xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:w="urn:schemas-microsoft-com:office:word"
    href="https://example.com"
    style="height:44px;v-text-anchor:middle;width:200px;"
    arcsize="10%"
    strokecolor="#4F46E5"
    fillcolor="#4F46E5"
  >
    <w:anchorlock />
    <center style="color:#FFFFFF;font-family:Arial,sans-serif;font-size:16px;font-weight:bold;">
      Register
    </center>
  </v:roundrect>
<![endif]-->
<!--[if !mso]><!-->
<a
  href="https://example.com"
  style="background-color:#4F46E5;border-radius:4px;color:#FFFFFF;display:inline-block;
  font-family:Arial,sans-serif;font-size:16px;line-height:44px;text-align:center;text-decoration:none;width:200px;"
  >Register</a
>
<!--<![endif]-->

The VML button needs a fixed width and height, so very long labels can wrap. Keep button text short.

Background images

CSS background-image doesn’t work in Word. Outlook can show a background image behind content using VML’s v:rect and v:fill, with the content in a v:textbox. Always set a bgcolor fallback too: if images are blocked, or the recipient’s app doesn’t support the background, the text must still be readable on the fallback color.

Images

  • Formats: use PNG, JPEG or GIF. Classic Outlook can’t show WebP, AVIF, SVG or HEIC.
  • Sizing: set an integer width attribute on every image, plus height:auto and max-width in CSS for other clients. Without the attribute, Word may show the image at its original pixel size.
  • High-DPI screens: at 125% or 150% display scaling, Word can rescale images and table widths unevenly. Adding PixelsPerInch 96 in the OfficeDocumentSettings block (inside an MSO conditional in the head) keeps sizes consistent.
  • Animated GIFs: some versions of classic Outlook show only the first frame. Make sure the first frame carries the message.
  • Alt text: many recipients see your email with images blocked first. Alt text tells them what’s missing and is essential for screen readers.

Embedded or linked?

Outlook blocks downloaded (linked) images by default for most recipients, who see empty boxes until they click “Download pictures”. Images embedded in the message as attachments (referenced as cid: URLs) show immediately, work offline and survive forwarding, at the cost of a larger message. For emails sent from Outlook to people, embedded is usually the better choice. Email platforms like Mailchimp always link images, which is fine for newsletters.

Fonts

Word doesn’t load web fonts. If your CSS says font-family:'Inter', Arial, sans-serif, classic Outlook should use Arial, but some versions fall back to Times New Roman instead when the first font is a web font. Two fixes:

  • Always end the font stack with web-safe fonts (Arial, Helvetica, Georgia, Verdana, Tahoma, Trebuchet MS, Times New Roman, Courier New).
  • Add an MSO font override, a style block inside an MSO conditional that sets the fallback directly for Outlook.

Line height and text

  • Use pixel line heights (line-height:24px) together with mso-line-height-rule:exactly. Otherwise Word adds its own spacing above text.
  • Keep body text at 14–16 px. Smaller text becomes hard to read when a classic-Outlook send is scaled down on a phone.
  • Use hex colors (#1F2937). Word ignores rgba(), hsl() and transparency.

Tall sections and page breaks

Word lays email out like a document, with page breaks. A single table cell taller than roughly 1,800 px can be split by a page break, leaving a visible gap. Splitting long sections into several rows avoids it.

Gaps and white lines

Thin white lines between sections are a classic Outlook artifact. They come from odd pixel heights at high display scaling, cell spacing Word adds by default, and line height on empty cells. Use even heights, border-collapse, the mso-table-lspace / mso-table-rspace properties, and font-size:0; line-height:0 on spacer cells.

Media queries and responsive email

Word ignores @media rules, and re-serialization often removes the whole style block. Treat media queries as progressive enhancement: the email must work without them. The hybrid columns above already stack without media queries in most apps; media queries can then fine-tune font sizes and padding on phones.

Dark mode

Outlook’s dark mode inverts or darkens colors on its own, and different versions do it differently. You can’t turn it off from the email, but you can make it harmless:

  • Keep strong contrast between text and its background, so it survives inversion.
  • Avoid dark logos on transparent backgrounds: on a dark background they disappear. Add a light outline or use a version with its own background.
  • Don’t rely on a background color to carry meaning.

Testing

No checklist replaces a real test. Before sending to a list:

  1. Send a test to yourself and open it in classic Outlook, new Outlook or the web, and your phone.
  2. Check at 100% and 150% display scaling if your recipients use Windows laptops.
  3. Forward it once from classic Outlook and look at the forwarded copy.
  4. View it with images blocked.

The cheat sheet

FeatureClassic Outlook (Word)What to do
Flexbox, grid, float, positionNot supportedTables, with ghost tables for columns
max-widthNot supportedFixed widths inside MSO conditionals
marginUnreliablePadding on td only; zero p and heading margins
padding on div, p, aUnreliablePadding on td only
border-radiusNot supportedVML roundrect for buttons
CSS background-imageNot supportedVML v:rect and v:fill, plus a bgcolor fallback
Web fontsNot loadedWeb-safe fallback plus an MSO font override
line-heightQuirkyPixel values with mso-line-height-rule:exactly
Image sizing at high DPIUnpredictablePixelsPerInch 96 and integer width attributes
WebP, AVIF, SVG, HEICNot supportedPNG or JPEG
Animated GIFFirst frame only in some versionsPut the message in the first frame
Very tall cellsSplit by page breaks around 1,800 pxSplit long sections
Gaps and white linesAt odd heights and high DPIEven heights, border-collapse, mso-table-*space
Media queriesIgnored, often removed on sendProgressive enhancement only
rgba() and transparencyNot supportedHex colors
Dark modeInverts colorsStrong contrast; logo-safe backgrounds
Linked imagesBlocked by defaultEmbed images in Outlook formats

How OFT Maker handles this

You don’t have to write any of this by hand. OFT Maker generates table layouts with ghost tables, VML buttons and backgrounds, font overrides, pixel line heights and embedded images. The Safety Check reviews every template before export for the problems Word can’t fix, like unsupported image formats, low contrast and tall sections. Every rule is listed in the rule catalog.

Start free or browse the templates.