fonts and graphic change in email using HTML template under outloo

E

em

We need a mystery solved.

Since the upgrade to Office 2007, whenever we do an email using our regular
HTML template, Outlook 2007 overrides all the fonts specified in the HTML and
what comes in has a different font, font size and different graphic order. It
looks perfectly horrible, but I can’t figure out which Outlook settings
control this, or if there’s a change we need to make to the HTML template.
Any insight?

Many thanks,
 
R

Roady [MVP]

Probably the last but hard to say without knowing how you specify the fonts
in the template.
 
E

em

Is there a way to email you the information? My colleague made a screen shot
of the webpage that shows how it should look and she also emailed me the
email HTML that showed the difference in font, font size and graphic order. I
tried to put it in my question earlier but all the info copied was plain text.
 
E

em

Here's the info from my colleague:
Font family is Arial, Tahoma, and Verdana, all sans-serif. Sizes are
denoted in terms of 1, 2, etc. (typical of HTML templates) and then
percentages. I have the HTML template that I hope to be able to email to you.
 
E

em

Sorry to be sending the information piecemeal. Here's the information about
the font changes:
I have the HTML template but could not attach it in this email. Font family
is Arial, Tahoma, and Verdana, all sans-serif. Sizes are denoted in terms of
1, 2, etc. (typical of HTML templates) and then percentages.
 
R

Roady [MVP]

I assume these are style sheet declarations then either within the template
or referred to on a web server?
Which method do you use in going from the html-template to generating an
email out of it?
 
E

em

No, there were no style sheet. It was an HTML template (I'll paste the HTML
text below) that we put in on an email going out through the Lyris.net as
part of our outgoing e-mail marketing blast. Our Director of marketing is
part of the lyris email blast recipient and she noticed that when she opened
the email in our outlook 2007, the HTML picture looks different from what it
was supposed to be (as was in our website or in an email received through
outlook 2003).

Here's the HTML template text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta
http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"><title>American Press Institute</title><style
type="text/css"><!--
p {
padding:0px 0px 5px 0px;
margin:0px 0px 5px 0px;
}a {
color:#335CAC;
}#sidebar a {
color:#CC9;
text-decoration:none;
}
--></style></head><body><div style="font-family:Arial, Tahoma, Verdana,
sans-serif; font-size:80%;"><table cellspacing="0" cellpadding="0"
style="border:2px solid #996; width:520px"> <tr> <td colspan="2"
style="padding:10px" >
<img
src="http://www.americanpressinstitute.org/images/postcards/build_new_audiences.gif" style="float:right;">
<img
src="http://www.americanpressinstitute.org/images/postcards/2008_api_weblogo.gif" style="padding:5px;">
</td> </tr> <tr><!-- BEGIN EDITING BANNER COLOR HERE --><!-- EDIT THE LINE
IMMEDIATELY FOLLOWING THESE COMMENTED LINES WITH THE COLORS LISTED BELOW -->

<!--
PURPLE
#8A5AA1 BLUE #006CA1 GREEEN #5D8D38
ORANGE #DD4A3A YELLOW #ECA72D RED #971C1B --> <td style="padding:10px;
background-color:#5D8D38; color:#FFF; border-top:2px solid #966;
border-bottom: 2px solid #996;"><!-- CHANGE THE 'background-color:'
HEXIDECIMAL NUMBER TO ONE OF THE COLORS LISTED ABOVE --><!-- END EDITING
BANNER COLOR HERE -->
<h1 style="font-size: 20px; line-height:20px;font-weight:bold ;color:
#FFF;margin:0px;">%%seminarname%%</h1> <h2 style="font-size:
14px;line-height:14px;font-weight:bold;color: #FFF;margin:10px 0px 0px 0px;
padding:0px;">%%seminardate%%<br> %%seminarlocation%%</h2></td> <td
style="width:162px;border-top:2px solid #996; border-left:2px solid #996;
border-bottom:2px solid #996;">
<img
src="http://www.americanpressinstitute.org/images/postcards/apiexterior.gif"></td>
</tr> <tr> <td style="width:360px; vertical-align:top;
padding:10px;">
<h5 style="color:#5D8D38;font-weight:normal; font-size:1.1em;
padding:0px 0px 5px 0px;margin:0px 0px 5px 0px;">
<em>%%introparagraph%%</em>
</h5>
<p>%%content%%</p>
<p> </p> <h5
style="color:#5D8D38;font-weight:strong;font-size:1.1em;padding:0px 0px 5px
0px;margin:0px 0px 5px 0px;">DETAILS:</h5> <p> Location: Reston, Va.
(Located 20 miles west of Washington, D.C.)<br> Tuition: Take
advantage of early-bird registration and save 10% on tuition. Your investment
is only $XXX for paid registration received by the early-bird discount
deadline of XXXX. (Group meals are included in seminar
tuition.)<br>

Hotel and meals: The hotel package at the Hyatt Regency Reston Town Center,
API’s conference hotel, is $xxx. This charge is in addition to the tuition
fee, and is paid directly to the hotel by the seminar member upon
checkout.<br>

<br>Click here</a> for more information and to register.<br>
Want personal advice on whether this seminar is right for you? Please
contact seminar moderator and API associate director XXX with any questions.
</p></td> <td style="width:162px; vertical-align:top;"> <div
style="background-color:#58635B; padding:10px;" id="sidebar"> <p
style="font-size:1.3em; color:#FFF;">2008 Tools for Transformation</p>
<p style="font-size:1.1em;color:#FFF;"><a
href="http://www.americanpressinstitute.org/seminars/" target="_blank">See
the full seminar list here.</a></p> </div> <div
style="background-color:#D0D4D3; padding:10px; font-size:90%;">
<p><strong>Upcoming Seminars</strong></p> <p>%%upcominseminars%%</p>
</div> <div style="padding:10px; font-size:9px;"> <img
src="http://www.americanpressinstitute.org/images/postcards/2008_api_weblogo.gif"
style="padding:10px 0px 10px 0px;"> <p>11690 Sunrise Valley Drive<br>
Reston, VA 20191-1498</p> <p><a
href="http://www.americanpressinstitute.org"
target="_blank">www.americanpressinstitute.org</a></p> </div> </td>
</tr></table></div></body>
 
E

em

Here’s what our designer identified as things that Outlook 2007 changes:

All table widths, padding, margin, line-height, etc. have been converted to
points and inches, which were originally designed in pixels. A class called
MsoNormal has been added to the template that did not exist previously. All
font sizes/styles have been converted to points, which were originally
designed in ems.

Is there something we can do to deactivate the conversion of the HTML pixels
to points and inches?
 
R

Roady [MVP]

I still don't know what you do to go from html-file to an email message. Can
you post exact steps to reproduce your issue?
 
E

em

1. Log into Web-based ESP (Lyris.net), choose a mailing list and select to
create new content for that list.
2. In the ESP’s content creator, open the HTML editor, then disable it.
3. Paste in HTML code for our template.
4. Enable HTML editor, add content text and save.
5. Create a mailing from that content. (Content and mailings reside in two
different places in this application.)
6. Save, test and send the mailing.

In non-Microsoft inboxes, including various Web mail providers like Yahoo!
and Earthlink (the two we tested), the mailing comes through with the HTML
code intact.
 
R

Roady [MVP]

Ok, so you are not actually creating it in Outlook, Outlook is just a
receiving client.

To be fair, your code looks absolutely horrible. You declare a style at the
top and then overrule or append it by each element that you use in the body.
Why not either define all the styles at the top (recommended) or in de body?

Just a quick cleanup of the text part of the message can be found below. I
leave the rest up to you. Additionally see the following document to find
out which elements are supported and not supported in Outlook 2007 (for
instance "float" is not supported). Why you use that single "float" element
is a bit of a mystery to me as well as the entire design of your template is
based on a table. You actually defined the colspan before just so you could
use the float element. As I said; a bit of a mess.

With the code below, the font should be displayed correctly in Outlook.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta content="text/html;
charset=iso-8859-1" http-equiv="Content-Type">
<title>American Press Institute</title>
<style type="text/css">
<!--
p {
padding: 0px 0px 5px 0px;
margin: 0px 0px 5px 0px;
}
a {
color: #335CAC;
}
#sidebar a {
color: #CC9;
text-decoration: none;
}
#main p, h1, h2, h4, h5 {
font-family: Arial, Helvetica, sans-serif;
}
#main p{
font-size:80%
}
#main h1{
font-size: 20px;
line-height: 20px;
font-weight: bold;
color: #FFF;
margin: 0px;
}
#main h2{
font-size: 14px;
line-height: 14px;
font-weight: bold;
color: #FFF;
margin: 10px 0px 0px 0px;
padding: 0px;
}
#main h4{
font-style:italic
}
#main h4, h5 {
color: #5D8D38;
font-weight: bold;
font-size: 1.1em;
padding: 0px 0px 5px 0px;
margin: 0px 0px 5px 0px;
}
-->
</style>
</head>

<body>

<div id="main">
<table cellpadding="0" cellspacing="0" style="border: 2px solid #996; width:
520px">
<tr>
<td style="padding: 10px">
<img
src="http://www.americanpressinstitute.org/images/postcards/2008_api_weblogo.gif"
alt="picture2" width="156px" height="68px" style="padding: 5px;">
</td>
<td style="padding: 10px">
<img
src="http://www.americanpressinstitute.org/images/postcards/build_new_audiences.gif"
alt="picture1" width="216px" height="57px">
</td>

</tr>
<tr>
<!-- BEGIN EDITING BANNER COLOR HERE -->
<!-- EDIT THE LINE
IMMEDIATELY FOLLOWING THESE COMMENTED LINES WITH THE COLORS LISTED BELOW -->
<!--
PURPLE
#8A5AA1 BLUE #006CA1 GREEEN #5D8D38
ORANGE #DD4A3A YELLOW #ECA72D RED #971C1B -->
<td style="padding: 10px; background-color: #5D8D38; color: #FFF;
border-top: 2px solid #966; border-bottom: 2px solid #996;">
<!-- CHANGE THE 'background-color:'
HEXIDECIMAL NUMBER TO ONE OF THE COLORS LISTED ABOVE -->
<!-- END EDITING
BANNER COLOR HERE -->
<h1>%%seminarname%%</h1>
<h2>%%seminardate%%<br>%%seminarlocation%%</h2>
</td>
<td style="width: 162px; border-top: 2px solid #996; border-left: 2px solid
#996;
border-bottom: 2px solid #996;">
<img
src="http://www.americanpressinstitute.org/images/postcards/apiexterior.gif"
alt="picture3"></td>
</tr>
<tr>
<td style="width: 360px; vertical-align: top; padding: 10px;">
<h4>%%introparagraph%%</h4>
<p>%%content%%</p>
<p></p>
<h5>DETAILS:</h5>
<p>Location: Reston, Va. (Located 20 miles west of Washington, D.C.)<br>
Tuition: Take advantage of early-bird registration and save 10% on tuition.
Your investment is only $XXX for paid registration received by the
early-bird
discount deadline of XXXX. (Group meals are included in seminar
tuition.)<br>
Hotel and meals: The hotel package at the Hyatt Regency Reston Town
Center, API’s conference hotel, is $xxx. This charge is in addition
to the tuition fee, and is paid directly to the hotel by the seminar
member upon checkout.<br><br>Click here for more information and to
register.<br>Want personal advice on whether this seminar is right for
you? Please contact seminar moderator and API associate director XXX
with any questions. </p>
</td>
<td style="width: 162px; vertical-align: top;">
<div id="sidebar" style="background-color: #58635B; padding: 10px;">
<p style="font-size: 1.3em; color: #FFF;">2008 Tools for Transformation</p>
<p style="font-size: 1.1em; color: #FFF;">
<a href="http://www.americanpressinstitute.org/seminars/" target="_blank">
See the full seminar list here.</a></p>
</div>
<div style="background-color: #D0D4D3; padding: 10px; font-size: 90%;">
<p><strong>Upcoming Seminars</strong></p>
<p>%%upcominseminars%%</p>
</div>
<div style="padding: 10px; font-size: 9px;">
<img
src="http://www.americanpressinstitute.org/images/postcards/2008_api_weblogo.gif"
alt="picture3" style="padding: 10px 0px 10px 0px;">
<p>11690 Sunrise Valley Drive<br>Reston, VA 20191-1498</p>
<p>
<a href="http://www.americanpressinstitute.org" target="_blank">
www.americanpressinstitute.org</a></p>
</div>
</td>
</tr>
</table>
</div>

</body>

</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top