Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Outlook 2007 not displaying email signature correctly

Posted on 2008-06-12
4
Medium Priority
?
3,489 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
  • 3
4 Comments
 
LVL 4

Accepted Solution

by:
sajay_j earned 1500 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Changing a few Outlook Options can help keep you organized!
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

885 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