Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > outlook 2003 html rendering

Reply
Thread Tools

outlook 2003 html rendering

 
 
kobus.dp@gmail.com
Guest
Posts: n/a
 
      12-05-2008
We have a simple PHP loop which generates an html email which
dispatchest. Outlook 2003 then renders the loops differently. e.g.

<td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'>
<p class=3DMsoNormal><span =
style=3D'font-size:7.5pt;font-family:"Verdana","sans-serif"'>4.
Correct
<o></o>
</span></p>
</td>
</tr>

------------------------------- notice the random space within
"correct" below.

<td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'>
<p class=3DMsoNormal><span =
style=3D'font-size:7.5pt;font-family:"Verdana","sans-serif"'>8.
Co rrect
<o></o>
</span></p>
</td>

-------------------------------

Outlook 2007 does the following with the same email (pretty)

<td style="font-family: Verdana; font-size: 10px;">12. Incorrect</td>
</tr>

---------------

Is there any way to rectify this or is it entirely up to Outlook 2003?
None of the other email clients are giving this problem.

Thanks
K



 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      12-05-2008
Gazing into my crystal ball I observed writing in
news:b5c0e75a-0cd5-4a77-9596-:

> We have a simple PHP loop which generates an html email which
> dispatchest. Outlook 2003 then renders the loops differently. e.g.
>
> <td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'>
> <p class=3DMsoNormal><span =
> style=3D'font-size:7.5pt;font-family:"Verdana","sans-serif"'>4.
> Correct
> <o></o>
> </span></p>
> </td>
> </tr>
>
> ------------------------------- notice the random space within
> "correct" below.
>
> <td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'>
> <p class=3DMsoNormal><span =
> style=3D'font-size:7.5pt;font-family:"Verdana","sans-serif"'>8.
> Co rrect
> <o></o>
> </span></p>
> </td>
>
> -------------------------------
>
> Outlook 2007 does the following with the same email (pretty)
>
><td style="font-family: Verdana; font-size: 10px;">12. Incorrect</td>
></tr>
>
> ---------------
>
> Is there any way to rectify this or is it entirely up to Outlook 2003?
> None of the other email clients are giving this problem.
>
> Thanks
> K
>
>
>
>


I don't use Outlook, or Outlook Express, or even Thunderbird. I use
Pegasus Mail. Did you test with that? Probably not.

There IS a reason I am saying this - that as difficult as it is getting
non-standard, propietary markup to look good across browsers, getting it
to "work" across myriad email clients is almost impossible.

Why do I say "almost" impossible? Because the best method is plain text
with a plain text link to the HTML content. Plain text works the same
in everyone's email client, probably won't be rejected by spam filters,
cannot contain viruses (unless they come as an attachment), and load
WAAAAYY faster.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      12-05-2008
wrote:

> We have a simple PHP loop which generates an html email which
> dispatchest.


Is there a URL through which we could check what the html email really
contains?

> Outlook 2003 then renders the loops differently. e.g.


Loops? What loops? There are no loops in HTML or in email.

> <td style=3D'padding:2.25pt 2.25pt 2.25pt 2.25pt'>


You're apparently showing us something Q encoded. This is one reason why a
URL would be essential.

> <p class=3DMsoNormal><span =
> style=3D'font-size:7.5pt;font-family:"Verdana","sans-serif"'>4.
> Correct
> <o></o>
> </span></p>
> </td>
> </tr>


Was this monstrosity generated by your code or are you actually showing us
just the result of munging by Outlook? In addition to the highly
questionable (well, wrong) font size of 7.5pt, it contains the bogus font
name "sans-serif" (which by definition refers to a font with that name as
its proper name, not to the generic font as per CSS specs).

And you have redundant (and potentially risky) <p> inside <td> (even though
there is no _paragraph_ there), useless <span> inside the <td>, and
proprietary <o> markup.

> ------------------------------- notice the random space within
> "correct" below.


We cannot assign the guilt without getting at least one solid fact, like a
URL.

> Outlook 2007 does the following with the same email (pretty)
>
> <td style="font-family: Verdana; font-size: 10px;">12. Incorrect</td>
> </tr>


So it also changes "4. Correct" to "12. Incorrect"? Fascinating.

Changing pt sized font size to px sized is just normal bogosity. If that's
what happens.

--
Yucca, http://www.cs.tut.fi/~jkorpela/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003 + Exchange 2003 Miguel Jamous Windows 64bit 3 07-04-2006 10:33 PM
WebControl rendering in frontpage 2003 - Migrating from Visual Studio 2003 to 2005 thierry.sanchis@free.fr ASP .Net 0 04-06-2006 03:36 PM
WebControl rendering in frontpage 2003 - Migrating from Visual Studio 2003 to 2005 thierry.sanchis@free.fr ASP .Net Web Controls 2 04-06-2006 03:29 PM
IE6 SP1 rendering vs IE6 SP2 rendering Peter Mount HTML 4 01-31-2006 08:01 AM
how can I write text from codebehind to html - without html rendering Alex Papadimoulis ASP .Net 3 05-06-2004 02:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57