Images is not fulling fitting in HTML Emails: Outlook 365

%3CLINGO-SUB%20id%3D%22lingo-sub-713565%22%20slang%3D%22en-US%22%3EImages%20is%20not%20fulling%20fitting%20in%20HTML%20Emails%3A%20Outlook%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-713565%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20designing%20html%20emails%20for%20quite%20a%20while%20and%20it%20gives%20me%20interesting%20surprises%20when%20testing%20it%20in%20outlook.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20one%20of%20the%20HTML%20emails%2C%20we%20used%20below%20code%20to%20display%20emails%20in%20Outlook%20365%20and%20it%20looks%20like%20some%20machines%20having%20Outlook%20365%20shows%20the%20email%20correctly%2C%20whereas%20some%20machines%20dont%20fit%20the%20image%20completely.%20PFA%20image.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20sure%20of%20the%20reason%2C%20but%20below%20is%20the%20outlook%20code%20from%20machine%20used%20to%20display%20the%20image%20within%20a%20table.%3C%2FP%3E%3CP%3E%3CRECT%20v%3D%22%26quot%3Burn%3Aschemas-microsoft-com%3Avml%26quot%3B%22%20fill%3D%22%26quot%3Btrue%26quot%3B%22%20stroke%3D%22%26quot%3Bfalse%26quot%3B%22%20style%3D%22%26quot%3Bwidth%3A640%3Bheight%3A320%26quot%3B%22%3E%3CBR%20%2F%3E%23%23%3CRECT%20v%3D%22%26quot%3Burn%3Aschemas-microsoft-com%3Avml%26quot%3B%22%20fill%3D%22%26quot%3Btrue%26quot%3B%22%20stroke%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3CBR%20%2F%3E%3CFILL%20type%3D%22%26quot%3Bframe%26quot%3B%22%20src%3D%22%26quot%3Bexample.png%26quot%3B%22%20color%3D%22%26quot%3B%231f3c5a%26quot%3B%22%3E%3C%2FFILL%3E%3CBR%20%2F%3E%3CTEXTBOX%20inset%3D%22%26quot%3B0%2C0%2C0%2C0%26quot%3B%22%3E%3C%2FTEXTBOX%3E%3C%2FRECT%3E%3C%2FRECT%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CDIV%3E%3CTABLE%3E%20Some%20text%20herere....%3C%2FTABLE%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CP%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%20why%20is%20that%20and%20what%20to%20do%20to%20correct%20it%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EAntony%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E
Occasional Visitor

Hi,

 

I have been designing html emails for quite a while and it gives me interesting surprises when testing it in outlook.

 

For one of the HTML emails, we used below code to display emails in Outlook 365 and it looks like some machines having Outlook 365 shows the email correctly, whereas some machines dont fit the image completely. PFA image.

 

Not sure of the reason, but below is the outlook code from machine used to display the image within a table.

<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:640;height:320">
##<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false">
<v:fill type="frame" src="example.png" color="#1f3c5a" />
<v:textbox inset="0,0,0,0">

<div><table> Some text herere....</table></div></v:textbox></v:rect>

 

Any ideas why is that and what to do to correct it ?

 

Thanks

Antony

 

0 Replies