私はtbodyの枠線を避けたいと思います。 は現在、私のコードは次のとおりです。ブートストラップテーブルの境界線を避ける方法
<body>
<div class="container">
<div class="row">
<div class="col-md-6">
<table class="table">
<thead>
<tr>
<th>TIME</th>
<th>LOCATION</th>
<th>MESSAGE</th>
</tr>
</thead>
<tbody>
<c:forEach items="${dbitems}" var="item" begin = "0" end = "5">
<tr>
<td>${item.time}</td>
<td>${item.location}</td>
<td>${item.message}</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="col-md-6">
<table class="table">
<thead>
<tr>
<th>TIME</th>
<th>LOCATION</th>
<th>MESSAGE</th>
</tr>
</thead>
<tbody>
<c:forEach items="${dbitems}" var="item" begin = "6" end = "11">
<tr>
<td>${item.time}</td>
<td>${item.location}</td>
<td>${item.message}</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</div>
</div>
いくつかの研究の後、私はtableclass table-borderless
を使用するので、私はそれを試してみました解決策になるかもしれないことが分かりました。 しかし、私は私の期待に合わない出力で何を得る:私は最初の画像のようにその行の境界線なしで同じことを達成したい私はtable-borderless
に、両方のテーブルクラスを置く
を。
ありがとうございます。