Back to Toolkit
Google Search Verified Fix

Outlook Email Broken Layout Fix: Resolve Gmail Line-Height Shifts

A programmatic integration guide for resolving email rendering crashes inside Outlook Office 365 (Web) using Salesforce Marketing Cloud (SFMC)'s layout editor environment.

Root Bug Analysis

Outlook Office 365 (Web) uses the Office Rendering Service which lacks support for standard rendering rules. This causes Gmail Line-Height Shifts elements to break or collapse when rendering templates.

Active rendering engine: Office Rendering Service

Salesforce Marketing Cloud (SFMC) Specific Guide

Salesforce Marketing Cloud (SFMC)'s delivery wrapper can clean and restructure elements during import, creating dynamic spacing differences inside Outlook Office 365 (Web).

Integration Step:

Create an 'HTML content' layout block in Content Builder. Paste the table structure. Enclose any custom merge tags inside standard AMPscript wrapper lines.

ESP Unsubscribe Alignment

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

Salesforce Marketing Cloud (SFMC) Unsubscribe Tag:%%unsubscribe_url%%

Documented Client Behavior

Expected layout behavior based on target rendering engine specifications:

Documented behavior: Gmail Line-Height Shifts causes elements to stack vertically or clip in Outlook Office 365 (Web) when templates are sent from Salesforce Marketing Cloud (SFMC).

Interactive Salesforce Marketing Cloud (SFMC) Custom Sandbox

Target Environment: Outlook Office 365 (Web)

Auto-compile fixes inside RenderOps Workspace

Load layout code directly into our CSS Inliner to compile responsive table frameworks that display cleanly in Outlook Office 365 (Web).

Launch CSS Inliner

Other Outlook Office 365 (Web) fixes in Salesforce Marketing Cloud (SFMC)

Fix Gmail Line-Height Shifts on Other clients for Salesforce Marketing Cloud (SFMC)