SOLVED

Custom HTML email signature with links and images - background image not working

Copper Contributor

Hi clever People,

 

I developed a html table with links, logo and other images, for a signature to be used in all email clients. It also has a background image (orange gradient). All the images are hosted on an external server.

 

The problem is, when I copy/paste from the browser, the background image doesn't come through. I tried doing it with CSS gradient and now with an image, but still the background image is not transferred into Outlook. Apple mail has no problem with even the CSS gradient background.

 

Click Here to see the signature I'm refering to.

 

Any advice or if this is possible with a different method? Thank you.

 

Mario.

7 Replies

Hi @marioi

 

Outlook on Windows does not support background image.
Outlook on Windows uses Word to render the HTML (not the browser).

You can add any colour as the background - E.g. #F9B578 (found in your gradient image) - Learn how:
https://support.xink.io/support/solutions/articles/1000258918-html-pro-table-bgcolor-snippet 

@Jesper_FrierHi Jesper, thank for replying and apologies for my late response.

 

Just making sure with this also... would using the "gradient" (inline CSS) statement on the table also not work, instead of using bgcolor?

 

Say something like this

 

<table style="background-image: linear-gradient(to right, red , yellow);">

 

best response confirmed by marioi (Copper Contributor)
Solution

Hi @marioi ,

 

Yes, use only bgcolor and avoid gradient style. 

Generally, Outlook on Windows does not support many styles.

If you can, avoid styles and you are safe :)

This is our 
Table bgcolor snippet we use when helping clients with email signatures templates:
https://support.xink.io/support/solutions/articles/1000258918-html-pro-table-bgcolor-snippet

@Jesper_Frier  Thanks. I would have used a simple bgcolor, but unfortunately the color gradient is part of the branding.

I'll have to rethink the design. Thanks for your responses. Much appreciated.

 

PS: Tell Mr Gates to stop being so a**l with outlook LOL.

I believe you may be able to do a gradient with VML code possibly.  Worth Googling. @marioi 

Here's a starter example https://backgrounds.cm/

@SquareBalloonHmmm ... interesting. I'll check it out. Thanks!

1 best response

Accepted Solutions
best response confirmed by marioi (Copper Contributor)
Solution

Hi @marioi ,

 

Yes, use only bgcolor and avoid gradient style. 

Generally, Outlook on Windows does not support many styles.

If you can, avoid styles and you are safe :)

This is our 
Table bgcolor snippet we use when helping clients with email signatures templates:
https://support.xink.io/support/solutions/articles/1000258918-html-pro-table-bgcolor-snippet

View solution in original post