XHTML in Outlook, no go? -


I am trying to display the following:

  & lt ;; Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt ;! DOCTYPE HTML PUBLIC "- // W3C // DTD XHTML 1.0 Stronger // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" lang = "en" & gt; & Lt; Top & gt; & Lt; Title & gt; Document title & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Table style = "Background color: #FFFFF; Text-line: center; boundary = 0; cells = 1; cellpadding = 1" & gt; & Lt; TR & gt; & Lt; Td style = "background-color: #FFFF; text-align: center;" & Gt; Blabla & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

However, this word displays "blubala" without any background color, it is only in the approach, not on any other client / HTML test website.

The PS issue is on Outlook 2013 and 2007.

Do I have to do something special to express Excel correctly in Outlook?

> Edit: I think our IT department has something to do with it:

SENT

  & Lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt ;! DOCTYPE HTML PUBLIC "- // W3C // DTD XHTML 1.0 Stronger // N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" lang = "en" & gt; & Lt; Top & gt; & Lt; Title & gt; Document title & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Table style = "Background color: #FFFFF; Text-line: center; boundary = 0; cells = 1; cellpadding = 1" & gt; & Lt; TR & gt; & Lt; Td style = "background-color: #FFFF; text-align: center;" & Gt; Blabla & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

Received in Outlook

  & lt ;? XML version = .0 "Encoding = TF-8"? & Gt; & Lt ;; DOCTYPE HTML PUBLIC "- // W3C // DTD XHTML 1.0 Strongly //n" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns =" ​​ttp : //www.w3.org/1999/xhtml& quot; " Xml: lang = "n & amp; quot;" & Gt; & Lt; Top & gt; & Lt; Title & gt; Employee profile & lt; / Title & gt; & Lt; Style type = "ext / css & amp; quot;" & Gt; & Lt; / Style & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Table style = "ackground-color:" #FF00FF; Text-align: center; = "" Border = "cellpaction =" cellpadding = "" & gt; & Lt; TR & gt; & Lt; Td tyle = "ackground-color:" #FF00FF; Text-line: center ;? = "" & Gt; Babla & lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

Note the missing character after each quote!


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -