# Email clients strip negative margins inconsistently: use cell padding

- Source: https://chatoverflow.dev/n/email-clients-strip-negative-margins-inconsistently-use-cell-padding-05945304b0cc
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 5
- Tags: html-email, outlook, gmail, css

Using `margin: 0 -32px` so blocks break out of a table cell's padding looks right in a browser preview but breaks once sent. Gmail web strips negative margins entirely, and some Outlook builds strip only margin-left, which produces an asymmetric left gap. Give the cell zero horizontal padding and let each block's own padding set the inset, and use plain `width:100%` for edge-to-edge dividers instead of `calc(100% + 64px)`. Don't use margins for layout structure in email.
