• Skip to main content
  • Skip to footer

Dyspatch

  • Products
      • Overview
      Features
      • No-code email builder
      • Email collaboration
      • SMS builder
      • AMP for Email
      • Template localization
      • Expert services
      • Partners & integrations
      •  
      Find your fit
      • Tools for email Designers
      • Dyspatch for translators
      • Email production for Marketers
      • Resources for email Developers
      Sendwithus Logo
      • Overview
      • Analytics
      • A/B testing
      • Triggered emails
  • Pricing
  • Case studies
  • Resources
    • Blog
    • Free templates
    • Webinars
    • Ebooks, guides, & reports
  • Company
    • About us
    • Careers
    • Contact us
  • Login
    • Dyspatch
    • Sendwithus
Get a demo

Gmail is stripping CSS from background images

By Veronica Best | July 31, 2023 | Categories: News
Gmail is stripping CSS from background images
⏱ 2 minute read

Here’s the workaround!

You may have seen the recent change Google made that has impacted your emails: Gmail is stripping CSS from background images. This has thrown marketers and email developers for a loop – and Dyspatch has the workaround, and a solution for you. Google may eventually resolve this issue given its widespread impact, but this will patch you through until then.

Gmail is stripping CSS from background-images

So what’s happening? Gmail is the most commonly used email provider for many of our customers’ recipients, which makes this issue pesky and a high priority to resolve. Here’s what the issue looks like, in practice:

See the example below: on the left the image is behaving as expected, but on the right it’s being squished together!

gmail background image fix

Google is regularly rolling out updates to Gmail and this is likely part of a larger improvement that will eventually get resolved. We’ll keep you updated. In the meantime, here’s what you can do to guarantee that your styles don’t get stripped and your emails look perfect every time.

The workaround:

Since Gmail is specifically targeting background-images set by CSS, we can use the background attribute on a table to sneak past its radar. Even though we aren’t using CSS to set the background image, we are still able to control its properties using CSS with the style attribute on our td like in the example posted below.

Sample

Code simplified for demonstration purposes

The solution: Try Dyspatch

Dyspatch customers benefit from the failsafe of DML – the Dyspatch Markup Language – which validates the code before you preview. 

The Dyspatch email builder ensures that folks who aren’t email HTML coding pros, or marketers who code on the side, can get the workaround. Want to know more? Connect with us for a custom demo today. 

What’s next?

As of posting this article, Google has not yet released a patch or fix, which they may, given the wide impact of this issue. That said, we’re keeping an eye out to ensure we keep you up to date. If you have any questions or would like to chat with our Dyspatch Email Heroes about options to get a perfect email every time, contact us at hello@dyspatch.io.

Update as of 2:18PM PST
Breaking news! As we published this post today, we learned that Google is planning to roll out a phased fix for this issue. Stay tuned for more…

Veronica Best, VP of Product

Voracious reader and self-professed #emailgeek. Passionate about all things product. VP of Product at Dyspatch.

  • LinkedIn

    Related Posts

  • 10 Email Clients as Game of Thrones Characters
  • How to Start a Startup Video
  • More Than Text: Sendwithus API Supports Attachments!
Share this post:
  • Facebook
  • Pinterest
  • Twitter
  • Linkedin
LET’S CHAT!

Why wait? Take your email marketing to the next level today.

Get a demo

5307 Victoria Drive #899
Vancouver, BC
V5P 3V6

548 Market Street,
San Francisco, California
94104 US

  • Phone 1-877-458-9231
  • Email us@dyspatch.io
    security@dyspatch.io
  • Facebook
  • Twitter
  • Instagram
  • LinkedIn
  • YouTube

Get the latest email strategies, tips, and trends right to your inbox.

About Dyspatch

  • About us
  • Careers
  • Contact us
  • Pricing
  • Press & Media
  • Release Notes

Find your fit

  • Tools for email Designers
  • Dyspatch for translators
  • Email production for Marketers
  • Resources for email Developers

Features

  • Dyspatch overview
  • No-code email builder
  • Email collaboration
  • Email template localization
  • AMP for Email
  • Sample AMP email templates
  • Expert Services
  • Sendwithus Overview
  • Agency Program

Email resources

  • Blog
  • Webinars
  • Ebooks Guides & Reports
  • HTML email templates
  • Knowledge base
  • Figma email builder
  • The Dyspatch Block gallery

Integrations

  • Partners & Integrations directory
  • Email builder for Braze
  • Email builder for Iterable
  • Email builder for Salesforce Marketing Cloud
  • Email builder for Pardot
  • Email builder for SendGrid
  • Email builder for Marketo
  • Email builder for HubSpot
  • Email builder for Oracle Eloqua

Dyspatch respectfully acknowledges the Lekwungen and W̱SÁNEĆ People, whose unceded territories we live and work on. We would also like to express our gratitude to all of the Coast Salish people as we continue to work and live as guests on their lands.

We recognize that acts of colonization created many inequities for First Nations, Inuit, and Métis people. As a company, we acknowledge that we have a responsibility to work towards reconciliation and to remain open to suggestions and consultations, especially with Indigenous communities.

Privacy policy    |    Terms of service    |    Web accessibility    |    Cookie policy    |    Usage    |    Sitemap

Copyright © 2025 Techdrop Labs Inc. All Rights Reserved.


Features & Functionality
Starter Teams Teams+
Universal styling  ✓  ✓  ✓
Drag and drop email builder  ✓  ✓  ✓
Custom code editor  ✓  ✓  ✓
Custom fonts  ✓  ✓  ✓
Device specific elements  ✓  ✓  ✓
Version history  ✓  ✓  ✓
Social media link settings  ✓  ✓  ✓
Commenting  ✓  ✓  ✓
Live previews  ✓  ✓  ✓
Dark mode previews  ✓  ✓  ✓
Litmus testing  ✓  ✓  ✓
Custom merge fields  ✓  ✓  ✓
Image hosting  ✓  ✓  ✓
Brand & legal compliance guardrails  ✓  ✓  ✓
User role permissions  ✓  ✓  ✓
ESP logic  ✓  ✓  ✓
Code Export  ✓  ✓  ✓
AMP Email Support  ✓  ✓  ✓
Approval Workflows  ✓  ✓  ✓
API Access  ✓  ✓  ✓
User Management –  ✓  ✓
Translation (via Smartling) – –  ✓
Export via API – –  ✓
Localizations – –  ✓
Account Manager – –  ✓
Premium Support – –  ✓
SLA – –  ✓
Premium SAML SSO – –  ✓
Custom Themes – –  ✓
Workspaces – –  ✓
Design / AMP Services – –  ✓
Pricing $149/mo $499/mo Custom
Get a demo

Get a quote