How to make an email signature in Outlook with HTML

Adán Sierra 0 Reputation points
Hello good. I'm trying to create a signature in Outlook with HTML, everything appears correctly and if I run it from my computer it doesn't give me any problems, but when I pass it to Outlook I see everything except an image that appears with the company logo.

The line of code where the image is is this:

<div style="background-image: url('1_fondo-FIRMA.jpg'); background-repeat: no-repeat; background-size: contain; padding: 10px; font-family: Arial, sans-serif; font- size: 14px; width: 600px;">

I attach the rest of the code in an image.
A family of Microsoft email and calendar products.
2,171 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Brice Vanderstraeten 105 Reputation points


    You can't store an image in outlook, you need to host one of the image somewhere else. First put the image in a url which is publicaly available and use the complete url instead of the name of the file only (with the name of the file only it will only work on your computer)

    Then I would put more something like that for the image:

    <img src="<url of the file>" border="0" style="width:600pt;height:14pt;">