Skip to content

Gmail desktop Chrome no longer supporting CSS background images #343

Closed
@alicemeichi

Description

@alicemeichi

Gmail web for Chrome is no longer supporting either background: url('image.jpg') or background-image: url('image.jpg'). When either of these is detected in an inline style tag, Gmail will strip out the entire style tag — even the other background styles.

The fix I’m using is to regress to using an HTML background="image.jpg" attribute which will allow the style tag to continue to apply other background styles like background-repeat, background-size, background-color, and background-position as taking out the url() function from the inline CSS will stop the entire style="" attribute from being stripped out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Data bugDid we say something wrong?

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions