猿问

两个div上下并排,各自里面table列数相同,怎么使对应的列对齐?

<div>

  <table>

    <tr>

      <td></td>

      <td></td>

    </tr> 

  </table>

</div>

<div>

  <table>

    <tr>

      <td></td>

      <td></td>

    </tr> 

  </table>

</div>


泛舟湖上清波郎朗
浏览 899回答 2
2回答

森栏

<div>&nbsp; <table>&nbsp; &nbsp; <tr>&nbsp; &nbsp; &nbsp; <td width="200"></td>&nbsp; &nbsp; &nbsp; <td></td>&nbsp; &nbsp; </tr>&nbsp;&nbsp; </table></div><div>&nbsp; <table>&nbsp; &nbsp; <tr>&nbsp; &nbsp; &nbsp; <td width="200"></td>&nbsp; &nbsp; &nbsp; <td></td>&nbsp; &nbsp; </tr>&nbsp;&nbsp; </table></div>
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答