CSS background-image doesn't work in most e-mail clients

  •  12-04-2009, 4:21 PM

    CSS background-image doesn't work in most e-mail clients

    We use Cute Editor for PHP to build HTML e-mails to send out. One thing I've noticed is that a lot of e-mail clients (Gmail, Outlook 2007, etc.) do not yet support the CSS "background-image" property.
     
    When I specify a background image for a table cell in Cute Editor, it uses the CSS "background-image" property, instead of the HTML "background" property. Technically, Cute Editor is correctly using CSS to specify the background image, but this doesn't work in most e-mail clients. Is there any way to make Cute Editor use the HTML "background" property instead?
     
    e.g.
     
    <td style="background-image: url(http://test.com/image.jpg)">
     
    Needs to be this for e-mails:
     
    <td background="http://test.com/image.jpg">
View Complete Thread