Design Tip of the Week: Making Sure Hotmail and Firefox Get Along.

Posted by: Tim Siukola
Wednesday, February 11, 2009
With all of the different email clients out there it can be difficult to account for all of their quirks. You expect that your email will look slightly different in Gmail than it does in Hotmail, but did you know that the browser you use can affect the display as well? Hotmail, in particular, behaves differently in Internet Explorer than it does in Firefox.

When using Hotmail in IE, properly coded HTML will display as expected, but some issues appear when using Hotmail in Firefox. If you’ve ever noticed extra space underneath your images like the screen shot below you are not alone. The Hotmail / Firefox combination results in about an extra 10 pixels of space being added below your images. This can wreak havoc with your design especially when you are expecting image elements to line up flush with one another.



Thankfully there is an easy fix to take care of this issue. By adding some inline CSS to each of your image tags your email will look they way you want it to. Setting the “display” property to “block” ensures that your image is treated as a block-level element with a line break before and after it.

<img alt="" src=”image.jpg” width=”60” height=”10” style=”display: block;”>

Once this code is in place it should fix the display issue you are seeing. Make sure to test your email again once you’ve made this change to confirm that it is working properly in Hotmail as well as other email clients.

This email client / browser quirk is a good reminder about how important it is to thoroughly test the display of your email in as many environments as possible. When testing the display of an email you want to pay attention not only to different email clients, but how the same web-based email client functions in different browsers.


Tim Siukola
Manager, Campaign Solutions
ExactTarget Campaign Solutions Team

Comments for Design Tip of the Week: Making Sure Hotmail and Firefox Get Along.

blog comments powered by Disqus

Comments for Design Tip of the Week: Making Sure Hotmail and Firefox Get Along.

Saturday, February 21, 2009 by tamar:
you are a life saver. thank you for this info.
Monday, February 23, 2009 by Maarten:
Nice! This fixed my newsletter in hotmail!
Wednesday, March 11, 2009 by dealRobot.ca:
Thanks, Tim! Worked like a charm.
Wednesday, March 18, 2009 by Arif Uddin:
thanks maaan.... i've tried with float:left... its fixed in hotmail but in arise problems in outlook 2003... but display:block seems to work fine in all environment for this problem....
Tuesday, March 31, 2009 by Anand Jain:
Very nice information.. !! Thanks a lot
Friday, September 25, 2009 by shalori:
Hotmail viewed in Firefox has an issue where the space created between break tags are a lot bigger (taller) than normal. Does anyone have a solution to that?
Wednesday, December 16, 2009 by Ed Henderson:
Superstar, problem solved, thank you.