Solved

Outlook 2007 not displaying email signature correctly

Posted on 2008-06-12
4
3,483 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS Style on Chrome 1 40
Outlook Configure Out Of Office with Error cannot find server. 6 64
Position Absolute Goes Beyond Parent 11 21
Exchange 2007 6 23
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

726 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