Images is not fulling fitting in HTML Emails: Outlook 365

Occasional Visitor



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 ?





0 Replies