Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook HTML Signature, Background Images Not Displaying

Status
Not open for further replies.

jeremyweisser

IS-IT--Management
Feb 24, 2004
28
US
Hello,

I am trying to create a company wide HTML signature for my firm. I have started with my own signature, which is exactly as I want it to appear. I have included the source below:

"<html>

<head>
<title>Jeremy Weisser</title>
</head>

<body>
<table border="0" cellpadding="0" cellspacing="0" width="327">
<tr>
<td align="left" valign="bottom">
<font face="Tahoma" size="2">
Best Regards,
<br>
Jeremy Weisser
</font>
<p>
<img border="0" src=" width="153" height="48">
<p>
</p>

</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="327" height="197" id="table4">
<tr>
<td background=" align="left" valign="bottom">
<table border="0" width="100%" cellspacing="15" cellpadding="0" id="table5">
<tr>
<td height="22"><font face="Tahoma" style="font-size: 8pt">
641 Lexington Ave
<br>
22nd Floor
<br>
New York, NY 10022
<br>
Phone: (212) 688-2890
<br>
Fax: (212) 688-1327
</font>
</td>
<td height="22"></td>
</tr>
<tr>
<td align="left" valign="top">
<font face="Tahoma" style="font-size: 8pt">
<a title="E-Mail me..." style="color: #0053A0" href="mailto:dummyemail@domain.com">dummyemail@domain.com</a><br>
<a title="Visit our website..." target="_blank" style="color: #0053A0" href=" face="Tahoma"><br>
<span style="font-size: 7pt"><br>
</span>
</font><font face="Tahoma" style="font-size: 7pt">
<a style="color: #808080; text-decoration: none; font-weight: 700" title="Download this information to your address book..." href=" vCard</a></font><font face="Tahoma"><span style="font-size: 7pt"><br>
</span>
</font>
</td>
<td align="left" valign="top">
<font face="Tahoma" style="font-size: 9pt; font-weight: 700">
JEREMY M. WEISSER
</font>
<font face="Tahoma" style="font-size: 8pt">
<br>
Director of Operations</font>
</td>
</tr>
</table>
</td>
</tr>
</table>


</body>

</html>"

When I open the file in IE or FF the page displays without issue. It also displays in GroupWise, GMAIL, Outlook Web Access and Yahoo Mail. For some reason however it does not display the background image when opened in the Outlook 2003 or 2007 client.

I have tried a number of different things but for some reason Outlook does not like the "background" attribute I am using. Can anyone confirm whehter Outlook supports the "background" attribute?

If not are there any ways around this obstacle?

My signature is a business card, with my logo and contact info in text so that it can be copy/pasted. Otherwise I would have just created a image with all the info.

Thanks in advance for any assistance.

- Jeremy
 
For one, background is not a valid attribute. It does not exist in any HTML spec. Try with its CSS equivalent: [tt]style="background: url( no-repeat;[/tt]

Incidentally, I see no use for so many tables in your code.
 
Are you sure it is not some Outlook settings that are preventing you from seeing backgrounds? If you added the valid css code for background and it works elsewhere than the problem must be in Outlook settings.
 
I am sure. I have tried it in Outlook 2003 and Outlook 2007. Normally when Outlook blocks images it will tell you that is is doing so. Usually you will see a red X or a notification in the header. In this case Outlook just refuses to display the image. FYI, I sed the following guide to construct my signature.


It claims that "For background images, use the HTML table attribute background= instead of CSS. It works more consistently across email software". Which is exactly what I did.
 
According to this


images won't be displayed in outlook automatically unless the recipient have you in his/her address list.

If you embed the images (in a multipart mail) you should be able to reference it like this:

<img src=CID:filename.jpg>

Possibly this applies to background images as well.

Didn't have time to test it myself, though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top