Back to Toolkit
Google Search Verified Fix

How to Fix Padding & Margin Collapsing in Outlook 2016
for Klaviyo Campaigns

A programmatic integration guide for resolving email rendering crashes inside Outlook 2016 using Klaviyo's layout editor environment.

Root Bug Analysis

Microsoft Word (used by Outlook 2016) has buggy support for div paddings and block-level margins. Spacing blocks inside divs are completely ignored, and margins often collapse or render at double height.

Active rendering engine: Microsoft Word (MSO)

Klaviyo Specific Guide

Klaviyo wraps elements in padded tables. In Outlook, this cause spacing heights to double or collapse unpredictably. To ensure spacing works reliably, apply all structural paddings directly to HTML td elements inside tables.

Integration Step:

Open your Klaviyo template editor. Drag an 'HTML' block directly into your layout timeline (do not use a standard text box). Clear the default skeleton content inside the Klaviyo markup editor and paste the RenderOps corrected inline code.

ESP Unsubscribe Alignment

When compiling custom HTML templates for Klaviyo, you must ensure your layout retains deliverability compliance loops. Klaviyo requires you to insert their specific unsubscribe merge tag, otherwise your campaign delivery will be flagged by automated spam audits.

Klaviyo Unsubscribe Tag:{% unsubscribe %}

Documented Client Behavior

Expected layout behavior based on target rendering engine specifications:

Documented behavior: Outlook 2016 ignores margin styles on raw div tags. Spacing collapses unless explicit spacer tables with empty lines and line-height: 1px are used.

Interactive Klaviyo Custom Sandbox

Target Environment: Outlook 2016

Auto-compile fixes inside RenderOps Workspace

Load layout code directly into our FlightControl Workspace to compile responsive table frameworks that display cleanly in Outlook 2016.

Launch FlightControl Workspace

Fix Padding & Margin Collapsing on Other clients for Klaviyo