Background-image css inside an html email - Gmail does not support

css, email, html

Solution

Have you tried setting the background attribute of a table?

This is the recommended method detailed in the following Mailchimp blog post: Background Images and CSS in HTML Email.

Example (Tested in Gmail)

    <table background="https://www.google.com/intl/en_com/images/srpr/logo3w.png" width="275" height="95">
        <tr>
            <td>
                Email Content...
            </td>
        </tr>
    </table>

Problem

I want to send html body email like below with background-image css to my users : ``` <div style='width:500px;height:1000px;background-color:black;background-image:url(http://upl0ad.org/images/mylogo.gif) repeat scroll left top;'> My Content </div> ``` but as the link below says google does not support background-image css! http://www.campaignmonitor.com/css/ what can I do about that?

Original source