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, 7 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.

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free