Route of Queue I have issues

Subscribe via RSS
  • Home
  • About
  • Best of the web
  • Contact
10
Aug/09
3

HTML email with images broken in Windows Live Hotmail and Firefox

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...

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! ;)

Tagged as: baseline, descenders, design, 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
3 Comments

Categories

  • General (3)
  • Hints and Tips (6)
  • Lol (1)
  • Other (2)
  • Uncategorized (1)
  • Web Design (2)
  • Web Development (4)

Archives

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

Recent Comments

  • BlueCalyx » Blog Archive » Dusting off the database on “You do not have sufficient permissions to access this page” after Wordpress upgrade
  • How to get album covers on an ipod touch? | Albums on Album artwork doesn’t show on iPod touch
  • Aaron on “You do not have sufficient permissions to access this page” after Wordpress upgrade
  • James Chorlton on “You do not have sufficient permissions to access this page” after Wordpress upgrade
  • Harry on Album artwork doesn’t show on iPod touch

Blogroll

  • Computer Backgrounds
  • Finance Matters
  • Footy Mental
  • Is it 42?
  • Matched Bets
  • Nick Broke It!

Links

  • Pokerchips kaufen

Spam Blocked

1,970 spam comments
blocked by
Akismet

Ads

Copyright © 2010 Route of Queue Go to top ↑