0

我遇到的问题是,在设计要发送给用户的电子邮件时,HTML 表格的边框并没有消失,即使它设置为 0,因此在菜单区域留下可怕的白线,这些区域是纯蓝色,如下是我的 HTML 代码!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<table width="889" border="0" >
  <tr>
    <td>
        <table width="882" border="0" bordercolor="#0099FF">
          <tr>
            <td colspan="4" bgcolor="#0099FF">&nbsp;</td>
            </tr>
          <tr bgcolor="#0099FF">
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td bgcolor="#0099FF">&nbsp;</td>
            <td colspan="2" rowspan="2">content</td>
            <td bgcolor="#0099FF">&nbsp;</td>
          </tr>
          <tr bgcolor="#CCCCCC">
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
        </table>
    </td>
  </tr>
</table>
</body>
</html>
4

2 回答 2

2

Add cellspacing="0" to your second table:

<table width="882" border="0" bordercolor="#0099FF" cellspacing="0">
于 2013-06-29T16:49:54.447 回答
1

可能cellspacing="0"修复了这些行?

于 2013-06-29T16:49:31.043 回答