我有两个表,我想对齐两个表的列。但我无法做到这一点。对齐两个单独的表的列
<div class="jumbotron">
<div class="container">
<div class="col-sm-8 col-sm-offset-2">
<fieldset>
<table>
<tr class="row">
<th class="col-md-3">header1</th>
<th class="col-md-4">header2</th>
</tr>
<tr class="row">
<td>azertyuopazertyuiop</td>
<td>azertyuopazertyuiop</td>
</tr>
</table>
</fieldset>
<fieldset>
<table>
<tr class="row">
<th class="col-md-3">headerheaderheader1</th>
<th class="col-md-4">headerheaderheader2</th>
</tr>
<tr class="row">
<td>azertyuopazertyuio</td>
<td>azertyuopazertyuio</td>
</tr>
</table>
</fieldset>
</div>
</div>
</div>
我不能使用一个表,我把所有的数据,如一些建议。因为我在两个表之间都有其他的html代码,所以我需要两个独立的表。
你想表1的HEADER2与表2的HEADER2对准即使如果表1 /表2具有不同数量的头?我发现你有一张桌子很奇怪,但你正在使用bootstrap来布置它。你能发布图片或描述你想要的结果吗? –
是的,我正在使用引导 – edkeveked