Solved

Outlook 2007 not displaying email signature correctly

Posted on 2008-06-12
4
3,485 Views
Last Modified: 2013-11-19
Hi everyone,

I've put together an html email signature to use with Outlook 2007 as the outgoing email client. The problem is that for some reason Outlook is pushing the first line of the left hand table cell down one line so there's a blank line. This is the <td> that it's affecting:

CODE
 <td width="160" valign="top" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 15px; text-align:left; color:#666666; padding-top:5px;">Unit 35<br />
2 Bligh Street<br />
Suburb NSW 2001 </td>

I wondered if someone could check the code to see if it's a code problem or whether it's got something to do with Outlook? All I know is that when I test in a browser it's okay.

Would really appreciate any help.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Unititled</title>
<meta http-equiv="Content-Type" content="text/html;">
</head>
<body bgcolor="#ffffff" style="margin: 0; padding: 0;">
<!-- Start Table -->
<table width="330" height="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="margin: 0;">
<tr>
<!-- Start Content -->
<td colspan="4" id="Content" align="left" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px;  color:#000; padding-bottom: 20px; margin: 0;"><p>Yours sincerely,</p>
  <p><span style="color: #000; font-weight:bold">Firstname Lastname </span><br />
  </p></td>
<!-- End Content -->
      </tr>
      
<tr>
  <td colspan="4" height="30" valign="middle" style="text-align:left; border-bottom: 1px solid #e5ae51; padding-bottom: 5px"><img src="logo.jpg" alt="Logo" width="160" height="30" /></td>
  </tr>
<tr>
<!-- Start Footer -->
            
 
        <td width="160" valign="top" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 15px; text-align:left; color:#666666; padding-top:5px;">Unit 35<br />
2 Bligh Street<br />
Suburb NSW 2001 </td>
        
<td width="180" valign="top" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 15px; text-align:left; color:#666666; padding-top:5px;"><span style="color: #000; font-weight:bold">T:</span> +61 2 9513 0000 <br />
     <span style="color: #000; font-weight:bold">F:</span> +61 2 9513 0000 <br />
     <span style="color: #000; font-weight:bold">W: </span><a href="http://www.newsite.com.au" style="text-decoration:none; color:#666666;">www.newsite.com.au</a></td>
<!-- End Footer -->
      </tr>
</table>
</body>
</html>

Open in new window

0
Comment
Question by:gwh2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 4

Accepted Solution

by:
sajay_j earned 500 total points
ID: 21775555
Try the following code; please check whether this help..
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Unititled</title>
<meta http-equiv="Content-Type" content="text/html;">
</head>
<body bgcolor="#ffffff" style="margin: 0; padding: 0;">
<!-- Start Table -->
<table width="330" height="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="margin: 0;">
<tr>
<!-- Start Footer -->
            
 
        <td width="160" valign="top" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 15px; text-align:left; color:#666666; padding-top:5px;">Unit 35<br />
2 Bligh Street<br />
Suburb NSW 2001 </td>
        
<td width="180" valign="top" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 15px; text-align:left; color:#666666; padding-top:5px;"><span style="color: #000; font-weight:bold">T:</span> +61 2 9513 0000 <br />
     <span style="color: #000; font-weight:bold">F:</span> +61 2 9513 0000 <br />
     <span style="color: #000; font-weight:bold">W: </span><a href="http://www.newsite.com.au" style="text-decoration:none; color:#666666;">www.newsite.com.au</a></td>
<!-- End Footer -->
      </tr>
</table>
</body>
</html>

Open in new window

0
 
LVL 1

Author Comment

by:gwh2
ID: 21775969
Thanks - yes your code does work fine, but what about the image and line etc that I have in my original code - how do I get this working also?
0
 
LVL 1

Author Comment

by:gwh2
ID: 21781360
I've added back the extra table cells and image from my original code into your new code and it all seems to be working well, but I can't figure what the difference between your code and my old code is in order to make it work.

Can you tell me what you did?
0
 
LVL 1

Author Closing Comment

by:gwh2
ID: 31466794
Thanks again - could you please tell me what you did to get it to work?
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question