Why Email Signatures Still Use HTML Tables and Inline CSS
HTML & CSS · Published 2026-11-16 · 6 min read · Email Signature Editorial
Building HTML for email clients follows very different rules than building websites. Here is why tables and inline styles remain the gold standard.
Webmail clients sanitize external stylesheets and head tags
When Gmail, Yahoo, or webmail clients display an incoming email inside their own web interface, they strip <head>, <link>, and external CSS classes so an email cannot alter the surrounding inbox UI.
Because class selectors can be discarded or rewritten during sanitization, every font-family, color, padding, and border rule must live directly inside the element's inline style attribute.
Tables guarantee column structure across legacy and modern clients
Using <table role="presentation" cellpadding="0" cellspacing="0" border="0"> ensures that side-by-side photo and contact columns never collapse unexpectedly across Outlook Desktop, Thunderbird, Apple Mail, and mobile apps.
- role="presentation" tells screen readers the table is purely visual layout, not tabular data.
- border-collapse: collapse removes unwanted 1px gaps between table cells.
- Explicit bgcolor attributes act as a reliable fallback alongside background CSS.