私はお互いの下にある2つのテーブルを持っています。オフセット内に2つのテーブルを並んで表示する
第2のテーブルは、第1のテーブルの要約であり、第1のテーブルよりも少ない列を有する。だから私はオフセットで2番目のテーブルを表示したい。これで、2番目のテーブルにはわずかなオフセットがあるため、互いにインラインで表示されません。
スニペットをフルスクリーンで開くと、その例が表示されます。
どのようにすれば、両方のテーブルがスムーズに表示されるように修正できますか?
詳細を確認するためのスクリーンショットです。
私はそれらの2行は同じ幅に開始することを望みます。
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"/>
<body>
<div class="wrapper">
<div class="page-wrapper">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<div class="table-responsive">
<table class="table table-condensed table-bordered small">
<thead>
<tr>
<th class="col-sm-3">One</th>
<th class="col-sm-3">Two</th>
<th class="col-sm-2">Three</th>
<th class="col-sm-2 text-right"># Number</th>
<th class="col-sm-2 text-right">∑ Money</th>
</tr>
</thead>
<tbody>
<tr>
<td>Name</td>
<td>Two</td>
<td>Lorem Ipsum</td>
<td>123</td>
<td>154 €</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-3">
HELLO WORLD
</div>
<div class="col-sm-9">
<div class="table-responsive">
<table class="table table-condensed table-bordered small">
<thead>
<tr>
<th class="col-sm-5">One Big Name</th>
<th class="col-sm-2 text-right"># Number</th>
<th class="col-sm-2 text-right">∑ Money</th>
</tr>
</thead>
<tbody>
<tr>
<td>Name</td>
<td>123</td>
<td>154 €</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</body>
。 – KhorneHoly
Mr Kjellが正しくありました –