Bulletproof buttons in HTML email
- type
- layout pattern (table + link, styled together)
- applies to
- any call-to-action link styled to look like a button
- screen reader effect
- n/a (the <a> itself remains a normal, focusable link)
- common values
- a colored <td> wrapping a padded, inline-block <a>
Where it goes
Anywhere a styled, clickable call-to-action needs to render consistently across clients, especially Outlook.
Example
<table role="presentation"><tr>
<td bgcolor="#2563eb" style="border-radius: 4px;">
<a href="#" style="display: inline-block; padding: 12px 24px; color: #ffffff; text-decoration: none;">Shop now</a>
</td>
</tr></table>Open this example in the editor →
Common mistakes
- Styling the <a> tag alone with background-color and border-radius and calling it done — it looks right in a browser preview and then renders as a plain blue underlined link in Outlook.
- Forgetting display: inline-block (or block) on the <a> — without it, the padding meant to make the clickable area feel button-sized doesn't apply the way expected.