Gmail’s DOCTYPE can create extra space under images

Similar to #7, this space is also caused by the DOCTYPE.  Here are a few workarounds (these work in Hotmail and Yahoo! Beta as well):

1.) Add style display:block to the image element

<img src=“test.jpg” style=“display:block”> 

2.) Add align abs bottom in the image element

<img src=“test.jpg” align=“absbottom”> 

3.) Add align text top to the image element

<img src=“test.jpg” align=” texttop ”> 

4.) Add line-height 10px or lower in the containing TD

<td style=“line-height:10px”> 

5.) Add font-size 6px or lower in the containing TD

<td style=“font-size:6px”> 

Sending
User Review
5 (1 vote)

Rogerio da Silva

Business & Test Analyst | Website Consulting | Email Consulting | Microsoft Dynamics 365 CRM QA | Agile | Manual | Integration & Automation | DevOps | API | Cloud | AI | IoT | CRM | Looking for Scalable Services? InShore, OffShore or Hybrid
Interested? Ask me how we can help.

%d bloggers like this: