.w100.tabulated.spacedout.bordered.striped.rich.table-h<table>
<caption>Caption</caption>
<tr>
<th>Header</th>
<th>Header</th>
<th class="txt-r">.txt-r Header</th>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
<td class="txt-r">.txt-r Cell</td>
</tr>
</table>
| Header | Header | .txt-r Header |
|---|---|---|
| Cell | Cell | .txt-r Cell |
Variables contributing to this table are the following
.w100
| Header | Header | .txt-r Header |
|---|---|---|
| Cell | Cell | .txt-r Cell |
Basic styling of underlines and footer overline. .tabulated.
<table class="w100 tabulated">
<tr>
<th>Header</th>
<th>Header</th>
<th class="txt-r">.txt-r Header</th>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
<td class="txt-r">.txt-r Cell</td>
</tr>
<tfoot>
<tr>
<td>Footer</td>
<td>Footer</td>
<td class="txt-r">.txt-r Footer</td>
</tr>
</tfoot>
</table>
| Header | Header | .txt-r Header |
|---|---|---|
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
| Footer | Footer | .txt-r Footer |
Add spacing between cells. .spacedout
<table class="w100 spacedout">
<tr>
<th>Header</th>
<th>Header</th>
<th class="txt-r">.txt-r Header</th>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
<td class="txt-r">.txt-r Cell</td>
</tr>
</table>
| Header | Header | .txt-r Header |
|---|---|---|
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
Add borders around cells, with footer border top. .bordered
<table class="w100 bordered">
<tr>
<th>Header</th>
<th>Header</th>
<th class="txt-r">.txt-r Header</th>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
<td class="txt-r">.txt-r Cell</td>
</tr>
<tfoot>
<tr>
<td>Footer</td>
<td>Footer</td>
<td class="txt-r">.txt-r Footer</td>
</tr>
</tfoot>
</table>
| Header | Header | .txt-r Header |
|---|---|---|
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
| Footer | Footer | .txt-r Footer |
.bordered.spacedout
| Header | Header | .txt-r Header |
|---|---|---|
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
| Footer | Footer | .txt-r Footer |
The old fashioned way of identifying rows, .striped
<table class="w100 striped">
<tr>
<th>Header</th>
<th>Header</th>
<th class="txt-r">.txt-r Header</th>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
<td class="txt-r">.txt-r Cell</td>
</tr>
</table>
| Header | Header | .txt-r Header |
|---|---|---|
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
All together, one shot, .rich
<table class="w100 rich">
<tr>
<th>Header</th>
<th>Header</th>
<th class="txt-r">.txt-r Header</th>
</tr>
<tr>
<td>Cell</td>
<td>Cell</td>
<td class="txt-r">.txt-r Cell</td>
</tr>
<tfoot>
<tr>
<td>Foot</td>
<td>Foot</td>
<td class="txt-r">.txt-r Foot</td>
</tr>
</tfoot>
</table>
| Header | Header | .txt-r Header |
|---|---|---|
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
| Cell | Cell | .txt-r Cell |
| Foot | Foot | .txt-r Foot |
Use the .c-x defined in grid, to define percentage widths. Best if you define width in
colgroup, as follows
And .md-x, .lg-x also apply.
<table class="tabulated spacedout w100">
<colgroup>
<col class="c-1 md-3">
<col class="c-2">
<col class="c-4">
<col class="c-1">
<col>
</colgroup>
<tr>
<th>c-1 md-3</th>
<th>c-2</th>
<th>c-4</th>
<th>c-1</th>
<th>*</th>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
<td>cell</td>
<td>cell</td>
<td>cell</td>
</tr>
</table>
| c-1 md-3 | c-2 | c-4 | c-1 | * |
|---|---|---|---|---|
| cell | cell | cell | cell | cell |
| cell | cell | cell | cell | cell |
| cell | cell | cell | cell | cell |
I need this during prototyping phases, a simple, straight forward, scrolling table. Wrap the table in .table-h
| cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text | cell long more text |