Solved

Outlook 2007 not displaying email signature correctly

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Learn more about how the humble email signature can be used as more than just an electronic business card. When used correctly, a signature can easily be tailored for different purposes by different departments within an organization.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now