I'm finding an odd problem with setting the background colour of nested tables in Gmail.
Email is here
Each of the panels of text content should be on a white background. I've got styles applied to the nested tables, the cells of the nested tables, and even a 'bgcolor' attribute in the markup itself. Yet Gmail still displays these on the same blue background as the main table.
Is there an issue with nested tables in Gmail?
I've also noticed that the cellspacing specified on the table tags seems to be getting ignored as well.
Any help appreciated.
I should add that the red cells are deliberate, I was just trying something obvious to check that white cells weren't tripping some odd over-ride by Gmail...
Well, I solved the background colour problem (seemed to be related to a bgcolor="" attribute on the top level table tag) but cellspacing still seems to be stripped in Gmail.
Try keeping cellspacing at 0 and setting padding for the table cell inline. I think cellspacing and cellpadding might be just intended to 'zero out' any unwanted gaps.
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that drive real business results.Get started for free