Outlook Stationary HTML Code
Posted on 2006-07-14
I got a good one for you guys.
Our client wants to use a stationary in Outlook that has an image at the top and centered. Shouldn't be too hard right? Wrong! The stationary uses an IMG tag which does not allow me to center percentage wise, only in pixels (hspace=). But if someone is using a different resolution than me then the image would be off-centered. I can get the image centered in XML but then Microsoft Word cannot read XML so then the image does not show up at all in Outlook. Here is the code produced by Outlook when creating the stationary. Thanks in advance
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.5346.5" name=GENERATOR></HEAD>
<BODY style="FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Arial"
background=""><FONT face=Arial color=#000000 size=2>
<DIV><IMG alt="" hspace="" src="N:\image002.jpg" align=top