Back to Toolkit
Google Search Verified Fix

How to Fix CSS Flexbox Collapse in Outlook 2016
for SendGrid Campaigns

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

Root Bug Analysis

Outlook 2016 uses the Microsoft Word (MSO) which lacks support for standard rendering rules. This causes CSS Flexbox Collapse elements to break or collapse when rendering templates.

Active rendering engine: Microsoft Word (MSO)

SendGrid Specific Guide

SendGrid's delivery wrapper can clean and restructure elements during import, creating dynamic spacing differences inside Outlook 2016.

Integration Step:

Open SendGrid Design Editor, toggle the view mode to Code Editor, or insert a custom 'Code' module block inside your drag-and-drop layout. Drop the corrected code inside the box.

ESP Unsubscribe Alignment

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

SendGrid Unsubscribe Tag:{{{unsubscribe}}}

Documented Client Behavior

Expected layout behavior based on target rendering engine specifications:

Documented behavior: CSS Flexbox Collapse causes elements to stack vertically or clip in Outlook 2016 when templates are sent from SendGrid.

Interactive SendGrid Custom Sandbox

Target Environment: Outlook 2016

Auto-compile fixes inside RenderOps Workspace

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

Launch Retrofit Compiler

Fix CSS Flexbox Collapse on Other clients for SendGrid