Search code examples
htmloutlook-2007

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?


Solution

  • For Outlook,

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

    does not work.

    One has to give like:

    <img height="30" width="70" .../>