HTML rendering issue with Windows Live Hotmail in Firefox

For the ones who have to design HTML emails for clients, you may have been facing this issue.  When you try to cascade some images, you might find gaps at the bottom of the images - only on Windows Live Hotmail opened in Firefox - they just won’t stick together.

Our company has to process a lot of HTML email send-outs every week, and this has been causing us a lot of trouble.

Finally we found what has gone wrong.

Windows Live Hotmail renders HTML in standard mode.  Any inline element (eg. img) in a table cell will be aligned to the text baseline.  This allows space for any descenders that extend below the baseline for some letters.

To fix this is really simple: put style=”display:block;” on the img tags.

When will MS stop giving us problems?

This entry was posted on Saturday, October 6th, 2007 at 11:54 am and is filed under Email, Web 2.0, Web Design & CSS. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

6 Responses to “HTML rendering issue with Windows Live Hotmail in Firefox”

  1. danjak Says:

    What about text. It seems to that WLM deisplay it in different way than other email clients

  2. Chris G Says:

    Man, I remember when AOL was the email enemy. The torch certainly has been passed, hasn’t it?

    Anyway, THANK YOU for posting this. I’ve been getting nowhere trying to solve this Hotmail issue. Every other platform I tested on worked perfectly — AOL, Gmail, Earthlink, Thunderbird, Mac Mail, on and on. Even Microsoft’s own Live Mail software(??). So I just found your Hotmail fix, tried it out and sure enough, it worked. And with finesse! Now if they could just render line-heights and margins like the rest of the world…

  3. matt Says:

    thanks a lot…..just saved me from a ‘banging head against a wall’ moment

  4. Marc Says:

    Awesome! Thank you so much! I’ve been going crazy trying to figure this out.

  5. Martskin Says:

    OMG I love you. Seriously, I love you.

  6. J. Says:

    I love you so much !!!

Leave a Reply