在 <table> html 电子邮件中嵌套 <table>

Gre*_*ggo 1 html nested html-email css-tables

我在这里完全不知所措。我想在 html 电子邮件的居中表格中嵌套多个表格,并且 firebug 和 W3C 验证器都告诉我,打开表格标签多于关闭表格标签。firebug 中的测试显示包含表与嵌套表之前一样,而不是围绕它们。

如果我将包含更改<table>为 a <div>,所有问题都会消失。不知道出了什么问题。

这是有问题的 html 电子邮件:http ://coastmusic.com/optiweb/

小智 6

您目前的容器表如下:

<table width="600" cellpadding="0" cellspacing="0" align="center">
  <table width="600" cellpadding="0" cellspacing="0" align="center">
Run Code Online (Sandbox Code Playgroud)

您需要在容器表后添加tr和标签td

<table width="600" cellpadding="0" cellspacing="0" align="center">
  <tr>
    <td>
      <table width="600" cellpadding="0" cellspacing="0" align="center">
Run Code Online (Sandbox Code Playgroud)

还要添加适当的结束标签。