• Home
  • About
  • Contact
  • Best of the web

Route of Queue

I have issues
stay updated via rss

  • Pages

    • About
    • Best of the web
    • Contact
  • Categories

    • General (2)
    • Hints and Tips (7)
    • Lol (1)
    • Other (2)
    • Software (2)
    • Web Design (2)
    • Web Development (4)
  • Archives

    • May 2010 (1)
    • September 2009 (1)
    • August 2009 (2)
    • July 2009 (2)
    • April 2009 (2)
    • February 2009 (2)
    • September 2008 (1)
    • May 2008 (4)
  • Recent Comments

    • jimmer on Album artwork doesn’t show on iPod Touch Cover Flow
    • rio on Album artwork doesn’t show on iPod Touch Cover Flow
    • Maya on “You do not have sufficient permissions to access this page” after WordPress upgrade
    • Rubenshoah on HTML email with images broken in Windows Live Hotmail and Firefox
    • John on “You do not have sufficient permissions to access this page” after WordPress upgrade
  • Blogroll

    • Computer Backgrounds
    • DVD Offers
    • Finance Matters
    • Footy Mental
    • Funny Emails
    • Matched Bets
  • Spam Blocked

    21,151 spam comments blocked by
    Akismet
  • Popular Tags

      computer joy images iphone question www chance upload list iPod feature name Touch solution fact server Program apple hassle Plug Download open apache Mac website Windows Search File Files work
  • Post Archives

    • May 2010
    • September 2009
    • August 2009
    • July 2009
    • April 2009
    • February 2009
    • September 2008
    • May 2008

HTML email with images broken in Windows Live Hotmail and Firefox

Posted: 10th August 2009 by Jon in Hints and Tips, Web Design, Web Development
Tags: baseline, descenders, email, email clients, email with images, fact, firefox, gap, Gmail, hassle, Hotmail, html email, images, lowecase, Mac, mac mail, Messenger, Outlook, pixel, quirks, solution, Windows, windows live messenger, work
6

If you’ve ever had to design/build HTML emails for work or fun or whatever, you might have run into a bit of an issue getting your email to display consistently in the multitude of email clients out there. I tend to just test my emails in Gmail, Outlook, Windows Live Hotmail and occasionally Mac Mail.

I used to only test in Windows Live Hotmail using IE as I was resigned to the fact that it never worked properly in Firefox – until now! I finally got hassled into finding a solution for the only issue we had left – a 3 or 4 pixel gap appearing in between all the images.

It turns out the problem is the way the browsers in quirks and standards mode align images to the text baseline – the 3 or 4 pixel gap is there to allow room for the descenders of lowecase letters like “p” and “y” – even if there are no letters in the <td> with the <img> in it.

There are 2 things you can do to resolve the issue – force all the images to be aligned to the bottom of the <td> rather than the default (text baseline):

<img src="something.gif" alt="..." style="vertical-align: bottom;" />

Or you can take the issue out of the rendering engines hands and fool it by making all the images block-level rather than inline:

<img src="something.gif" alt="..." style="display: block;" />

I prefer the second option, but the first one should work fine too! ;)

  1. matt says:
    July 27, 2009 at 7:09 am

    Thanks for solve my 2 days worry!

  2. Matthew says:
    July 31, 2009 at 6:40 am

    Yes!

  3. Michael Strorm says:
    October 10, 2009 at 11:21 pm

    Great stuff; the second one did the trick. Thanks!

  4. Nikki says:
    March 26, 2010 at 4:28 pm

    Thanks you so much for the great info. I’ve been trying to figure this out for a day!
    (The second option worked)

  5. Jon says:
    May 24, 2011 at 5:45 pm

    I ran into this but the solution was slightly different for me, but the gaps that were being reported by FireBug were down to line-height on the image being set to 131% for some reason.

    adding line-height:50%!important to the style seems to help.

    JT

  6. Rubenshoah says:
    August 8, 2011 at 4:52 am

    Thanks! resolve my problems and not only in Windows Live Hotmail

Click here to cancel reply.

newer posts
older posts

Social Connections

  • Twitter
  • Linked In
  • Youtube

    Blogroll

    • Computer Backgrounds
    • DVD Offers
    • Finance Matters
    • Footy Mental
    • Funny Emails
    • Matched Bets

Recent Comments

  • jimmer: If the art appears i
  • rio: just make sure you h
  • Maya: i got the solution ,
  • Rubenshoah: Thanks! resolve my p
  • John: Thnx for your post,
  • Jon: I ran into this but
  • J: Mine did the exact s
  • Dale: has not worked for m
  • Jeff: AWESOME!! I looked
  • Alex Newman: OMFG I LOVE YOU. hou
Home   |  About  |   Contact  |   Best of the web  |  Posts RSS  |  Comments RSS
© 2010 Route of Queue. All Rights Reserved. Greyzed Theme created by The Forge Web Creations. Powered by WordPress.