How to remove the divide between table rows in e-mail shot?

跟風遠走 提交于 2019-12-25 07:26:14

问题


I recently mocked up an e-mail marketing (mail chimp) e-mail in Photoshop, and exported it into HTML (using tables and inline styles (unfortunately) so that it appears correctly in all/most e-mail clients.

However, after sending myself a test e-mail to see how it appears in my Gmail account, I can see there is a white dividing line between each row of my table, which I cannot seem to remove or find when I inspect it in Google Chrome.

Can anybody tell me how to remove these dividers? My full HTML can found at http://pastebin.com/gJWJGEak# A screenshot of how the email is currently appearing can be found at http://img521.imageshack.us/img521/346/screenshotvg.png


回答1:


I found your problem. It has nothing to do with borders, but with the size of the text inside the cells.

Your text expands too much and it causes the containing cells to expand. If you reduce the text size or the margin of the paragraphs you'll achieve the desired result.

I hope it helps! :)




回答2:


All of your images need to be explicitly style="display:block;".

And just a heads up, background images won't work in Outlook 2007 and 2010.



来源:https://stackoverflow.com/questions/16560885/how-to-remove-the-divide-between-table-rows-in-e-mail-shot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!