Bootstrap defines a custom styling for table using the .table
class. Just add the .table
class to any <table>
to see horizontal dividers and padding:
<table class="table">
<thead><tr><th>First Name</th><th>Last name</th></tr></thead>
<tbody>
<tr><td>John</td><td>Doe</td></tr>
<tr><td>Fred</td><td>Bloggs</td></tr>
</tbody>
</table>