我有兩個表,我想對齊兩個表的列。但我無法做到這一點。對齊兩個單獨的表的列
<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