2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Nesting tables

* Add simple test to css-tests.html
* Scope .table-bordered to immediate children th/td elements only
This commit is contained in:
Mark Otto
2012-12-08 12:52:19 -08:00
parent b9292ff90c
commit cacc213762
4 changed files with 70 additions and 38 deletions
+49
View File
@@ -593,6 +593,55 @@
</div>
</div><!--/row-->
<h4>Nesting and striping</h4>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Test</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Test</th>
<th>Test</th>
</tr>
</thead>
<tbody>
<tr>
<td>
test
</td>
<td>
test
</td>
</tr>
<tr>
<td>
test
</td>
<td>
test
</td>
</tr>
<tr>
<td>
test
</td>
<td>
test
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<h4>Fluid grid sizing</h4>
<div class="row-fluid">
<div class="span12">