Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
html元素位于表列之外_Html_Css - Fatal编程技术网

html元素位于表列之外

html元素位于表列之外,html,css,Html,Css,我有一个2行3列的html表格 我将另一个表放在第一个表的第二行的第二列中,但第二个表超出了第一个表的边界。我很困惑。共享代码或检查序列 <table> <tr> <td>1st row and 1st column</td> <td>1st row and 2nd column</td> <td>1st row and 3rd column</td> </tr> <tr

我有一个2行3列的html表格


我将另一个表放在第一个表的第二行的第二列中,但第二个表超出了第一个表的边界。我很困惑。

共享代码或检查序列

<table>
<tr>
  <td>1st row and 1st column</td>
  <td>1st row and 2nd column</td>
  <td>1st row and 3rd column</td>
</tr>
<tr>
  <td>2nd row and 1st column</td>
  <td>                   <!-- you want insert Table here -->  
    <table>
    <tr><td>nested table</td></tr>
    <tr><td>nested table</td></tr>
    </table>
  </td>
  <td>2nd row and 3rd column</td>
 </tr>
</table>

第1行和第1列
第1行和第2列
第1行和第3列
第二行和第一列
嵌套表
嵌套表
第二行和第三列

更多信息请访问

,将您的代码复制并粘贴到“迄今为止显示您的代码”中,如果您需要我们的帮助,请共享链接!