Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML Images Rendering on Outlook 2007 mails

I am receiving HTML newsletter as emails using Microsoft Outlook 2007. There are several images in the email which are arranged using 'width' and 'height' attributes of the 'img' tag.

When I try to open the html code in any browser, the images and text are arranged properly. But on Outlook 2007, it gets messed up and the images shows up in random sizes even though height and width are given explicitly in the HTML code.

Can anyone tell me how to get the images displayed properly in the Outlook 2007 so that the formatting does not get messed up?

like image 260
ssahu Avatar asked Dec 13 '22 18:12

ssahu


1 Answers

For Outlook,

<img style="height:30; width:.."/>

does not work.

One has to give like:

<img height="30" width="70" .../>
like image 179
ssahu Avatar answered Dec 31 '22 02:12

ssahu