Outlook 365 email layout breaks, padding off after HTML import
Padding breaks in Outlook 365 on Windows because classic desktop Outlook renders HTML with the Word engine, which ignores much modern CSS. Rebuild the layout with tables, put padding on table cells, wrap fixed-width containers in MSO ghost tables, then test in the Outlook build that fails.
Sohail Hussain9 min readShort answer
- The cause is almost always classic Outlook for Windows, which draws email with Microsoft Word's engine instead of a browser, so padding, widths and margins on div and p tags get misread.
- Move padding onto table cells, zero out paragraph margins, wrap fixed-width containers in MSO ghost tables, and retest in the exact Outlook build that fails.
- Check first which Outlook the affected person runs and what their display scaling is; Edge is not the variable.
You imported an HTML email into Campaign Monitor (or any other platform), and it looks right in Gmail, Apple Mail and on phones. On one Windows 11 machine running Outlook 365 the padding is off and the text hyphenates oddly. People on Reddit's email marketing community report this exact pattern: one machine breaks while everything else looks fine.
The platform is rarely at fault. It sends your markup as written; it does not control how Outlook draws it.
Why the email breaks on one machine
"Outlook 365" is ambiguous. Microsoft ships several programs under similar names, and they render email differently.
| Outlook version | Renderer | What to expect |
|---|---|---|
| Classic Outlook for Windows | Microsoft Word engine | Mangles padding, margins, widths and background images |
| New Outlook for Windows | Web-based, browser-like | Modern CSS mostly works |
| Outlook on the web | Browser engine | Own quirks, generally forgiving |
| Outlook for Mac | Browser-style engine | Own quirks, generally forgiving |
A single office can have classic and new Outlook side by side, which explains "it breaks on her laptop, not mine." Check which one each person runs before touching the code.
Edge is not the cause. Classic Outlook does not use the browser to draw email bodies, so for layout purposes treat the Word engine as the renderer.
Other causes of a one-machine problem, roughly in order of likelihood:
- Different Outlook version (classic vs new) between the two machines.
- Display scaling. At 125% or 150%, a Word-engine layout can look slightly shifted on one laptop only.
- Broken markup that other clients forgive. An unclosed tag, a missing
</td>or a stray<p>inside a cell. - An add-in or security gateway that rewrites HTML on that machine or tenant. I can't tell you how common this is; it is simply a possibility to rule out.
Confirm it is a Word-engine problem
Send yourself the same message and open it in:
- Classic Outlook on Windows.
- New Outlook on Windows, if your install has the toggle.
- Outlook on the web, in a browser.
If only classic Outlook breaks, the fixes below apply. If all three break, look for broken markup first and validate the HTML before anything else.
If only one machine breaks and other classic installs are fine, ask the recipient to forward the message as an attachment (an .eml or .msg file). That lets you inspect what arrived, not what you sent. The email header analyzer can help you read the headers of that file, and understanding email headers explains what to look for.
Step-by-step fixes
Fix 1: put padding on table cells
Word ignores or misreads padding on many elements. Padding on a td is the safest. Do vertical spacing with cell padding or spacer rows, not margins.
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="padding: 24px 32px; font-family: Arial, sans-serif; font-size: 16px; line-height: 24px;">
Your paragraph text here.
</td>
</tr>
</table>
Rules that prevent most shifts:
- Put
cellpadding="0" cellspacing="0" border="0"on every table, then add spacing withtdpadding. - Set
margin: 0on paragraphs and headings, and pad the cell instead. - Avoid
divfor layout; Word handlesdivwidths and padding inconsistently. - Set
line-heightin pixels on text cells. - Do not rely on
max-widthalone; Word ignores it.
Imported templates carry their own CSS
Templates exported from a web builder often use div wrappers and margins for spacing. Those survive in browsers and fall apart in Word, so expect to rewrite the spacing rather than patch it.
Fix 2: add ghost tables for fixed widths
Many responsive templates use a div with max-width: 600px. Word ignores max-width, so content stretches. A ghost table fixes that: conditional comments that only Outlook for Windows reads, wrapping the container in a fixed-width table.
<!--[if mso]>
<table role="presentation" align="center" width="600" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<div style="max-width: 600px; margin: 0 auto;">
<!-- your content tables here -->
</div>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
Other clients treat the <!--[if mso]> blocks as comments. Keep opening and closing pairs balanced; a missing closer is a common cause of "worse on one machine" reports, because other clients hide the damage.
For multi-column layouts, use a ghost table with one fixed-width td per column so columns do not wrap under each other.
Fix 3: sort out hyphenation
Odd hyphenation and wrapping is often a language setting plus an unconstrained text width. Two things to try, in this order:
- Set
lang="en"(or your language) on the roothtmlelement. - Give text cells an explicit
widthso Word has no reason to reflow them.
I can't promise this removes every hyphenation quirk on every Office build; if it persists on one machine, go back to the version and add-in checks above.
Fix 4: patch the common Word-engine symptoms
| Symptom | Likely cause | Fix |
|---|---|---|
| Extra gap above or below text | Paragraph margins, line-height | margin: 0, pixel line-height, pad the cell |
| Button looks squashed | Padding on a tags ignored | Padded table cell with the link inside, or a VML button in an MSO block |
| Background image missing | CSS backgrounds unsupported in Word | VML background in an MSO conditional, with a solid bgcolor fallback |
| Images wrong size | Missing dimensions | width and height attributes, display: block |
| Gaps under images | Inline baseline spacing | display: block on the img |
Test in the clients that matter
I would not trust one machine, and I would not trust a screenshot from a different Outlook version. Three routes:
- Use a rendering service such as Litmus or Email on Acid to see classic Outlook builds without installing them.
- Check support for a CSS property on caniemail.com before using it.
- Keep a Windows machine or VM with classic Outlook for the final check, and test at 100% and 125% scaling.
Our responsive email tester and email accessibility checker help with width behavior and structure, but neither shows what classic Outlook will draw.
Simplify when the fix costs too much
Sometimes the cheapest fix is a simpler layout. A single-column, table-based email with system fonts, solid color blocks and padded-cell buttons holds up in every Outlook build. Drop background images, overlapping elements and rounded corners for the Outlook audience, or accept that they degrade. See email plain text vs HTML for when to go lighter, and HTML email basics for a sound table structure.
Checklist before you resend
- You know which Outlook (classic, new or web) the affected person runs.
- You know their display scaling.
- Every table,
tdand<!--[if mso]>block is closed and balanced. - Padding sits on
tdcells; paragraph and heading margins are0. - Text cells have pixel line-heights and explicit widths.
- Fixed-width containers are wrapped in ghost tables.
- The root element has a
langattribute. - You retested in classic Outlook at 100% and 125% scaling.
If nothing works
If the layout is still wrong on that one machine after the checklist, the problem is probably local: an Office build, an add-in or a mail gateway. Contact Microsoft support or your IT administrator for that tenant, and send them the forwarded .eml or .msg file, the Outlook version and build (from File > Office Account), the display scaling, and screenshots from a working and a failing machine. If you suspect the platform altered your HTML, send the same details to Campaign Monitor's support.
Subject: HTML email renders incorrectly in one Outlook 365 install only
Hi,
An HTML email renders correctly in Gmail, Apple Mail and other Outlook installs,
but on one Windows 11 machine running Outlook (classic) the padding is
misaligned and text hyphenates oddly.
Outlook version/build: {version from File > Office Account}
Display scaling: {100% / 125% / 150%}
Attached: the received message as .eml/.msg, screenshots from working and failing machines
Already tried: padding moved to td cells, ghost tables, lang attribute set,
tested in new Outlook and Outlook on the web.
Could you check whether an add-in, gateway or build-specific issue explains this?
Common questions
Does Campaign Monitor cause the Outlook layout break?
Not on its own. Any platform sends the HTML you give it, and classic Outlook's Word engine decides how to draw it. Importing a template that was built for browsers is what usually exposes the problem.
Is Edge responsible because the machine runs Windows 11?
No. Classic Outlook does not use Edge to render email bodies. The browser only matters for Outlook on the web and, loosely, for new Outlook.
Do I need ghost tables for every email?
Only for fixed-width or multi-column layouts that use max-width on a div. A single-column email built entirely from tables with explicit widths can skip them.
Can Mailneo test how Outlook renders my email?
No. Mailneo's editor is a visual block editor with an HTML code mode and a sandboxed preview, which helps you build and edit layouts, but we do not offer an Outlook rendering test. You still need classic Outlook or a rendering service before a send. Outlook builds and Microsoft's rollout of new Outlook change over time, so verify against Microsoft's current documentation as of November 2026.
Explore: Email Design & Content
Related Articles
ActiveCampaign paste from Google Docs strips characters: fixes
When the ActiveCampaign editor strips curly quotes, dashes or accents pasted from Google Docs, paste as plain text (Ctrl+Shift+V or Cmd+Shift+V), then format inside the editor. If a character still disappears, write it as an HTML entity in an HTML block, and send a test to Gmail and Outlook before launch.
Acumbamail RSS Campaign Featured Image Not Showing: Fix
An RSS campaign shows no featured image when the feed itself does not carry it. Open your feed source and look for an enclosure, media:content or an img tag in each item. If it is missing, add the image to the feed with a plugin or code, then rerun the campaign as a test.
Constant Contact editor not saving changes: fixes and workarounds
If Constant Contact's editor reverts your edits, test in a private window with extensions off, save after each block change, and build new emails from a fresh layout instead of an old template. If it keeps happening, design the email elsewhere and paste the HTML in, or move platforms.
Email dark mode colors inverted in Gmail and Outlook: fixes
Gmail, Outlook and iOS Mail rewrite email colors in dark mode, and you can't switch that off. Design for it instead: use transparent PNG logos with a light stroke, avoid pure black and white, pick mid-tone colors, set explicit colors on every element, and test in the real apps.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free