我知道这已经被覆盖,但解决方案并没有帮助我 - 我不是一个程序员,但我可以处理基本的HTML代码。我试图发送一个HTML电子邮件,其中有11个图像放在一个表格中,成为一个大图像 - 然而,当我发送它时,行之间出现白线。
I know this has been covered before but the solutions didn't help me - i'm not a programmer but i can handle basic HTML code. I am trying to send a HTML email out that has 11 images placed in a table to become one big image - however white lines appear between rows when i send it.
I将表格样式设置为 border =0cellpadding =0cellspacing =0但这没有帮助 - 任何人都可以给我建议吗?
I have the table style set with border="0" cellpadding="0" cellspacing="0" but this doesn't help - can anyone please give me advice? Also as i am not a programmer I may not understand any complex answers!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Untitled document</title> </head> <body> <!-- Save for Web Slices (toast offer mailer 2.jpg) --> <table style="height: 920px;" id="Table_01" width="650" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td colspan="2"><a href="www.metroplan.co.uk/2012/#/4/"> <img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_01.jpg" width="236" height="201" border="0" style="border: 0;"></a></td> <td colspan="3"><a href="www.metroplan.co.uk/2012/#/78/"> <img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_02.jpg" width="177" height="201" border="0" style="border: 0;"></a></td> <td colspan="2"><a href="www.metroplan.co.uk/2012/#/10/"><img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_03.jpg" width="237" height="201" border="0" style="border: 0;"></a></td> </tr> <tr> <td><img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_04.jpg" width="152" height="155"></td> <td colspan="3"><a href="www.metroplan.co.uk/2012/#/116/"> <img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_05.jpg" width="173" height="155" border="0" style="border: 0;"></a></td> <td colspan="2"><a href="www.metroplan.co.uk/2012/#/42/"> <img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_06.jpg" width="180" height="155" border="0" style="border: 0;"></a></td> <td><img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_07.jpg" width="145" height="155"></td> </tr> <tr> <td colspan="7"><img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_08.jpg" width="650" height="237"></td> </tr> <tr> <td colspan="7"><img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_09.jpg" width="650" height="231"></td> </tr> <tr> <td colspan="3"><a href="www.metroplan.co.uk/"> <img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_10.jpg" width="314" height="95" border="0" style="border: 0;"></a></td> <td colspan="4"><a href="mailto:marketing@metroplan.co.uk"> <img src="mail.bridgemailsystem/pms/graphics/metroplan/toast-offer-mailer-2_11.jpg" width="336" height="95" border="0" style="border: 0;"></a></td> </tr> <tr> <td><img src="images/spacer.gif" width="152" height="1"></td> <td><img src="images/spacer.gif" width="84" height="1"></td> <td><img src="images/spacer.gif" width="78" height="1"></td> <td><img src="images/spacer.gif" width="11" height="1"></td> <td><img src="images/spacer.gif" width="88" height="1"></td> <td><img src="images/spacer.gif" width="92" height="1"></td> <td><img src="images/spacer.gif" width="145" height="1"></td> </tr> </tbody> </table> <!-- End Save for Web Slices --> </body> </html>推荐答案
在图片上,尝试使用
On images, try using
style="display:block"它应该有效。
更多推荐
删除表格中的图像之间的白色间距
发布评论