margin-botton in GMail issue

[Issue Solved]

Hi, I just coded a new email template for my company and tested it on Yahoo, GMail and Hotmail account. However, only GMail resulted wrongly.

I used the following code to fix my tables and it worked on the other tested email clients:

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:-2px;">

I notice then, that GMail doesn't handle the style="margin-bottom:-2px;". Should I use bottom:-2px only instead? Or is there any other solution?

Also, oddly, you say on that Hotmail doesn't handle the Margin property, while GMail does.

lucianosb lucianosb, 5 years ago

Fixed! I figured out I needed to add style="display:block;" to all image tags and GMail handled them correctly.

I also removed the margin-bottom from the tables.

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free