Apple is surely the top email client but your list also includes subscribers using other email clients like Outlook and web versions like office365, outlook.com, Hotmail, live and other web version of outlook.
Needless to say, emails render differently on every email client and device. If your email is not optimized according to these parameters, your subscribers will not be able to see the email like you want them to.
Outlook.com/live/hotmail, for example, put forth a peculiar challenge when it comes to rendering images in emails.
Let’s unveil the technicality and coding enigma underneath.
What these web mails do is that they automatically add <div> before the image. Adding this will lead to appearance of gap below the image. When the same background color as that of the image is used, it won’t be much of a problem as it won’t be visible enough. On the top of it, if text is followed by image, it again won’t be visible. However, when background color is different or when two images are sitting one above another, this problem is clearly visible.
Why does this happen?
This happens as the email clients add div on its own; Strange why they keep adding their own tag in emails. Moreover, it also adds display:in-block so you see some extra space (around 3 to 5px) getting added at the bottom of image.
Have a look at the below screenshots to understand what exactly happens.
This challenge is usually observed in latest apps, recently updated by them.
How to overcome this challenge?
Uplers have come up with an idea that can help you overcome this challenge.
All you need to do is add below style in your <head> and remove the unnecessary space under the image.
div{ display:block !important;}
We obviously cannot remove the div which they are adding but then at least we can avoid adding extra space. So we overwrite the inline block with anotherblock to remove extra space.
Here’s how it looks after the workaround.
Our email experts can help you with ESP integration and migration across 50+ ESPs.
Wrapping Up
It surely feels like a huge accomplishment whenever we discover a workaround for the renderability issues of Outlook.
Have you faced similar challenges with any email client?
Share your ideas with us in the comment box below.
I find myself combating a 1px gap under images and some CTAs in Outlook 2016 for Windows. Adding a above or below sometimes helps, but not always. Any ideas on that fix?
Hey Keith!
Can you provide us with the HTML?
We would be able to help you out if we can have a look at the HTML.
Send it on hello@Uplers.com and Uplers would be happy to help. 🙂
God Thank you!!! I’ve been looking for a solution since yesterday!
Hey Jeff! Glad to help… 🙂
Thanks for article – but not working for me – the issue still remain.
Please send in the details of the issue that you are facing on hello(@)Uplers(.)com.
We would be happy to help. 🙂
Brilliant Thanks! This has been bugging me recently – do you know how long hotmail has had this issue for? display:block on the images used to work
Thank you Sarah.
Happy to help. 🙂
This worked for me! Thanks so much! Just be sure to change your other div tags that have different display stylings than block to have the !important inline.
Happy to help Raenae.
Stay connected. 🙂
Interesting article. I have tried to solve it in my mail template, but unfortunately it doesn’t work. The issue still remain.
Hey Sandra!
Please email us at hello(@)Uplers(.)com and we would be happy to help you out. 🙂
Same issue here. but it doesn`t work
Please send in the details of the issue that you are facing on hello(@)Uplers(.)com.
We would be happy to help. 🙂