How to make an HTML email signature that works in Outlook

Build an HTML email signature that survives classic Outlook’s Word engine: tables, inline styles, image sizes, safe fonts and how to install it in each Outlook.

6 minute readBy the Geco Signatures team

To make an HTML signature that works in Outlook, build it the old-fashioned way. Lay it out with a simple table, put every style inline on the element it applies to, give every image a width and height attribute, use a font that is already installed on most computers, and use PNG or JPG images rather than SVG or CSS backgrounds. Then paste the finished signature into Outlook’s signature editor instead of typing it there.

The reason is classic Outlook for Windows. It displays and edits HTML email with the rendering engine from Microsoft Word, not a web browser, so modern CSS that works everywhere else is ignored or misread. If your signature looks right in classic Outlook, it will almost always look right in new Outlook, Outlook on the web, Gmail and Apple Mail too.

On this page (8)
  1. Why HTML signatures break in Outlook
  2. The rules for an Outlook-safe HTML signature
  3. A table-based HTML signature example
  4. How to add an HTML signature to Outlook
  5. Common Outlook signature problems and fixes
  6. Where hand-built HTML signatures fall short
  7. Doing this for a whole company
  8. Questions people ask

Why HTML signatures break in Outlook

Since Outlook 2007, classic Outlook for Windows has used Word to render HTML messages. Word understands tables, basic fonts and colours, and not much else. New Outlook for Windows and Outlook on the web are built on web technology and handle HTML much like a browser, so they are far more forgiving. Many people in a company still use classic Outlook, and many of the people you write to use it too, so your signature has to suit the stricter engine.

The email developer reference caniemail.com tracks what each mail app supports. For classic Outlook on Windows it lists no support for flexbox, CSS grid, positioning or CSS background images, only partial support for padding and margin, and no CSS width on images, divs or paragraphs. That is why a signature built with divs and a stylesheet falls apart the moment someone in classic Outlook opens it.

The rules for an Outlook-safe HTML signature

Follow these and most of the usual problems never appear.

  • Use a table for layout. One table with a cell for the logo and a cell for the text is enough for most signatures. Set cellpadding, cellspacing and border to 0 on the table.
  • Put styles inline. Write style attributes on each table cell, link and image. Outlook signature editors and many mail apps strip style blocks and classes.
  • Put spacing on table cells. Classic Outlook only applies padding reliably on td elements. Margins on paragraphs and divs behave unpredictably.
  • Give every image width and height attributes. Classic Outlook ignores CSS width on images, so the attributes are what control the size. Add the same values in the style attribute for other apps.
  • Use PNG or JPG. SVG still doesn’t show in older versions of classic Outlook, and Gmail only partly supports it. Background images need Outlook-only VML code that breaks easily inside a signature.
  • Use a web-safe font. Arial, Helvetica, Verdana, Tahoma, Georgia and Trebuchet MS are installed almost everywhere. Web fonts loaded from a server are ignored by classic Outlook.
  • Use full https addresses for images and links, and add alt text to every image.
  • Keep it small. Most good signatures are 400 to 600 pixels wide and a few lines tall.

A table-based HTML signature example

Here is a small signature for Pam Beesly at the Michael Scott Paper Company. It uses one table, inline styles, a logo hosted on the company website and Arial with safe fallbacks. The logo file is 200 by 200 pixels and shown at 100 by 100, so it stays sharp on high-resolution screens.

HTML
<table cellpadding="0" cellspacing="0" border="0" role="presentation" style="border-collapse:collapse;">
  <tr>
    <td valign="top" width="116" style="width:116px;padding:0 16px 0 0;">
      <img src="https://www.michaelscottpaper.com/email/logo-200.png" width="100" height="100"
        alt="Michael Scott Paper Company" style="display:block;width:100px;height:100px;border:0;">
    </td>
    <td valign="top" style="font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:18px;color:#333333;">
      <strong style="font-size:15px;color:#1f3a5f;">Pam Beesly</strong><br>
      Sales<br>
      Michael Scott Paper Company<br>
      <a href="tel:+441632960123" style="color:#333333;text-decoration:none;">01632 960123</a><br>
      <a href="https://www.michaelscottpaper.com" style="color:#1f3a5f;">michaelscottpaper.com</a>
    </td>
  </tr>
</table>

Open the file in a browser to check it. If it looks right there, the next step is getting it into Outlook without Outlook rewriting it more than it needs to.

How to add an HTML signature to Outlook

None of the current Outlook apps has a box where you paste HTML code. The reliable route is to open the signature in a browser, select it, copy it and paste the rendered result into the signature editor.

For new Outlook for Windows and Outlook on the web:

  1. Open your HTML file in Edge or Chrome, press Ctrl+A to select everything, then Ctrl+C to copy.
  2. In Outlook, select Settings, then Accounts, then Signatures.
  3. Select Add signature and give it a name.
  4. Click in the editing box and press Ctrl+V to paste.
  5. Tick whether to use it for new messages, replies and forwards, then select Save.

For classic Outlook for Windows:

  1. Copy the signature from your browser as above.
  2. Go to File, then Options, then Mail, then Signatures.
  3. Under Select signature to edit, choose New and type a name.
  4. Click in the Edit signature box and paste.
  5. Under Choose default signature, pick it for New messages and Replies/forwards, then select OK.

For Outlook for Mac, open Outlook, then Settings, then Signatures, add a new signature and paste it into the editor. Signatures you create in classic Outlook are stored only on that computer, so you repeat this on each device.

Common Outlook signature problems and fixes

  • The font turns into Times New Roman. Classic Outlook could not find the first font in your list and did not use the fallbacks. Put a web-safe font such as Arial first.
  • Spacing grows or text looks bigger than the logo. On screens scaled to 125% or 150%, classic Outlook scales text and padding but keeps images at their pixel size. Set widths in both attributes and inline styles, and test at the scaling your staff use.
  • Images show at full size. The width and height attributes are missing. Add them to every img tag.
  • Images arrive as attachments. See why signature images show up as attachments.
  • The logo disappears in dark mode. A transparent PNG with dark lettering vanishes on a dark background. Give the logo a light background or a thin light outline.
  • Links turn blue and underlined. Set color and text-decoration inline on every link.

For image dimensions and font sizes in more detail, see the email signature size guide.

Where hand-built HTML signatures fall short

For one person, or a team of five, this is fine. Build the HTML once, paste it in, test by emailing yourself and a Gmail address, and you are done.

It gets harder as the company grows. Each person needs their own copy with their own name, title and number, pasted into every Outlook they use. Classic Outlook signatures live on each computer, so a new laptop means doing it again. The phone apps have a much simpler signature editor, so phones often send a plain text signature or none. When marketing changes the logo, or someone changes job, nobody updates the copies on every device, and you end up with several versions of the brand in circulation.

Doing this for a whole company

Geco Signatures applies the signature on the server as mail leaves Microsoft 365, so nobody pastes HTML into Outlook and nothing is installed on any computer or phone. Each person’s name, title and phone number come from Entra ID, and empty fields drop out cleanly. The signature designer builds Outlook-safe table layouts for you and warns about things that break in Outlook. Every app gets the same signature, including Outlook on iPhone and Android. See how server-side signatures work.

Questions people ask

Can I paste HTML code directly into an Outlook signature?

No. None of the current Outlook apps has an HTML code box for signatures. Open the HTML file in a browser, copy the rendered signature and paste it into the signature editor.

Why does my HTML signature look different in Outlook?

Classic Outlook for Windows renders HTML with Microsoft Word, which ignores much modern CSS. Use tables for layout, inline styles, image width and height attributes and a web-safe font.

Does Outlook support SVG images in signatures?

Not reliably. Older versions of classic Outlook do not show SVG at all and Gmail only partly supports it. Use PNG for logos and icons.

What width should an HTML email signature be?

As a practical guide, keep the whole signature between 400 and 600 pixels wide so it fits a reading pane and a phone screen without scrolling sideways.

How to make an HTML email signature that works in Outlook | Geco Signatures