Tables
These are the base styles for tables.
However, most tables in the Atomia applications use additional component classes like Table
or the special dt-* classes defined in the Datatable component.
Example
| head 1 | head 2 | head 3 |
|---|---|---|
| row 1 col 1 | row 1 col 2 | row 1 col 3 |
| row 2 col 1 | row 2 col 2 | row 2 col 3 |
| Footer | ||
Markup
<table>
<thead>
<tr>
<th>head 1</th>
<th>head 2</th>
<th>head 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>row 1 col 1</td>
<td>row 1 col 2</td>
<td>row 1 col 3</td>
</tr>
<tr>
<td>row 2 col 1</td>
<td>row 2 col 2</td>
<td>row 2 col 3</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3">Footer</td>
</tr>
</tfoot>
</table>