Solved

HTML email not displaying correctly in Outlook 2010

Posted on 2013-11-20
7
3,400 Views
Last Modified: 2013-12-20
Hello,

I am creating an HMTL email for a client. It displays correctly in every email client except the customer's, and they are using a Win 7 PC with Outlook 2010 Pro Plus.

The width of the table cells <td width="550"> are being ignored, and it looks very condensed - almost like they are viewing it on a phone screen. (See image1)

When I did some research, I read that adding a <style> tag to the <td> would force Outlook to to actually display a 550px table width. I added in a style width <td style="width:550px;"> to the table cells, but then my header image (which has a height and width specified, of 550x250) shrinks and doesn't fill the space. (See image2)

Here's a link to view the email itself:
http://secure.pledgemine.com/emails/etmp_50.asp?id_prf=767199&secure_src=60857

Any ideas why

1) Outlook is displaying my email so condensed? or

2) Outlook shrinks my image (which has a height and width specified)?

Thanks for any help on this,

Josh
image1.jpg
image2.jpg
0
Comment
Question by:skimox
[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
  • 2
  • 2
7 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 200 total points
ID: 39662995
Outlook 2007 or newer use Microsoft Word for their HTML engine.  Trouble is, Microsoft Word's HTML is stuck at about the year 1999.  This page http://www.campaignmonitor.com/css/ shows many things that do not work in different clients.

PS: I should have added that many email clients do not recognize any version of HTML past HTML 4.0.  You're using XHTML on that page.
0
 

Author Comment

by:skimox
ID: 39663642
Dave -

I have looked at that campaign monitor page, and I've tired to be careful about not using code that Outlook can't read - or at least provide a backup which Outlook can use.

Do you see something specific that would cause Outlook do display incorrectly - either the width issue or the image size issue - based on the code I'm using?

Regarding your PS. I'm using the same doctype that Campaign monitor suggests using.
http://www.campaignmonitor.com/blog/post/3317/correct-doctype-to-use-in-html-email/
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39663677
Open a copy of your email code in Word.  That's what is used to display it in Outlook since 2007.  Don't save it from Word though, it does horrible things to HTML.
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39665895
Don't use this:
<td width="550" style="text-align:center;background-color:#fff;"><

try the ancient way:
<td width="550" align ="center" bgcolor="white">

And do change the DTD to html.
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39665924
Have you thought of using a email marketing company like Constant Contact to send emails? They allow you to format email correctly for email clients.
0

Featured Post

Windows running painfully slow? Try these tips..

Stay away from Speed Up Computer Programs that do more harm than good.
Try these tips instead.
Step by step instructions in trouble shooting Windows Performance issues.

Question has a verified solution.

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

Suggested Solutions

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

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