Why Your Email Button Breaks in Outlook (and How to Build One That Doesn’t)
Classic Outlook renders email with Microsoft Word, and your email platform rewrites your HTML on top of that. Here's what a bulletproof email button actually is, and how to build one without hand-coding VML.
October 13, 2026 · 5 min read
A client asked me for something that sounded trivial: a “Download the PDF” button in their newsletter. Blue with rounded corners. Ten minutes, tops.
It looked right in the editor preview. It looked right in Gmail on my phone. Then I sent a test to Gmail in a desktop browser, and the button came back as a blue bar stretched across the entire width of the email, with the text floating in the middle of it.
Same HTML. Different button.
That’s normal for email, and it’s why “just add a button” keeps eating afternoons.
Email clients don’t share a rendering engine
A web page gets drawn by one of a handful of browser engines, and they mostly agree with each other. An email gets drawn by whatever the reader happened to open it in, and those agree on very little.
The worst offender is classic Outlook for Windows. Since Outlook 2007 it has rendered HTML email with Microsoft Word’s layout engine, not a browser. Word has never heard of border-radius. It ignores max-width. Padding on a link mostly does nothing.
And plenty of people still run it. The new Outlook for Windows uses a browser engine, but Microsoft is moving people over slowly and corporate IT is slower still. If anyone on your list reads email at an office job, some of them are looking at your newsletter through Word.
What “bulletproof” means
A bulletproof button is built from live text inside table cells instead of an image, so it shows up whether images load or not and doesn’t lean on CSS that half the clients ignore.
For classic Outlook, it also means writing the button a second time in VML. That’s Vector Markup Language, a Microsoft format from the Internet Explorer 5 days that Word still understands. The VML copy sits inside <!--[if mso]> conditional comments, so Outlook reads it and every other client skips it and uses a normal link.
It’s ugly, and nobody should have to write it by hand more than once.
Why not just use an image?
Because classic Outlook blocks remote images by default. Until the reader clicks “Download pictures,” an image button is an empty box or a line of alt text, sitting exactly where your call to action was supposed to be.
Your email platform rewrites your HTML too
The HTML you paste isn’t always the HTML that gets sent.
Mailchimp, Kit, Constant Contact and MailerLite all have a code or HTML block that passes your markup through more or less intact. Paste the full version, Outlook code and all, and it survives.
beehiiv is different. Its editor sanitizes pasted HTML: <style> tags are dropped and comments often get stripped. Outlook’s conditional code lives inside comments, so it disappears and leaves you with half a button. For beehiiv you want HTML that never depended on comments in the first place: tables and inline styles only. Classic Outlook readers get square corners instead of rounded ones, which is a fair trade for a button that actually renders.
Substack has no HTML block at all. There, your only option is an image of the button with a link on it, blocked-images problem included.

The full-width bar
The Gmail bug from the top of this post is worth explaining, because it came from fixing a different bug.
A fixed-width button inside a table that shrinks to fit its contents will overflow on a 375-pixel phone screen. The standard fix is to make that wrapper table 100% wide. But if the cell painting the button’s background colour lives in the wrapper, Gmail on the web paints the whole width. Edge to edge, one blue bar.
The answer is two tables. A full-width outer one that only handles alignment, and a button-sized inner one that does the painting. I hit both bugs, in that order, before landing there.
Dark mode
Some clients recolour emails when the reader has dark mode on, and they don’t agree on how. Gmail’s iPhone app goes furthest, flipping light backgrounds dark and shifting your colours along with them. A button colour you chose against white can lose most of its contrast once that happens. Check it against a dark background before you send.
Rules for email buttons that hold up
- Keep the text live. Real text in a table cell. Never baked into an image.
- Give it a fixed width. VML can’t size itself to its label, so Outlook needs a number. Pair it with a
max-widthso the button can still shrink on phones in every other client. - 44 pixels tall, minimum. That’s Apple’s touch target guideline, and a lot of your readers are tapping with a thumb.
- System fonts only. Classic Outlook drops to Times New Roman when it can’t find your web font, and it doesn’t do it gracefully.
- Six-digit hex. Shorthand like
#fffisn’t reliable in thebgcolorattributes older clients still depend on. - Open the link in a private window first. A Google Drive PDF left on “Restricted” sends every single reader to a “You need access” page, and you’ll only hear about it from the three who bother to reply.
- Watch the total size. Gmail clips any message over 102KB behind a “View entire message” link. A button near the bottom of a long issue can land on the wrong side of the cut.
- Video doesn’t play in email. Apple Mail supports the
<video>tag; almost nothing else does. Use a thumbnail with the play button drawn into the image itself, because CSS overlays get stripped.
Building the blocks without hand-coding them
That client job is the reason Email Block Builder exists. You fill in a few fields, watch a live preview, and copy HTML that already has the two-table structure, the VML and the escaping done for you.
It builds four kinds of block:
- A bulletproof button, with control over colour, corner radius, width, height, font and alignment.
- A file download card: title, a meta line like “PDF · 240 KB”, a matching button, and an optional thumbnail. Drop in your PDF and it renders page one as an image without the file ever leaving your browser.
- A video thumbnail with the play button built into the image. Paste a YouTube link and it pulls the thumbnail for you. Other hosts, upload your own.
- A row of social icons in colour, dark or light.
![]()
Before you copy anything, tell it where you’re pasting. The “Where are you pasting this?” picker points you at the right output: Full HTML with the Outlook code, Sanitizer-safe HTML for editors like beehiiv, or Image + link for Substack. The preview flips between light and dark backgrounds and between desktop and mobile widths, so the dark mode problem and the narrow-screen problem show up for you before they show up for your readers.

Copying HTML is free and unlimited, account or not. Only image exports are metered: 3 as a guest, 25 a month on a free account, unlimited on Pro. Pro also hosts the exported image and drops its URL straight into the snippet, and keeps up to 10 saved style presets so this week’s button matches last week’s.
No account required. No install. Just open it and copy the HTML.
Before you hit send
Your editor’s preview is the least trustworthy screen in this whole process. It runs in a modern browser that ignores Word’s limits and skips your platform’s sanitizer, so it shows you the one version of your button nobody will actually receive.
Before your next issue goes out, send one test to a Gmail address and one to Outlook. Those two disagree more than any other pair, so a button that survives both is most of the way home.