update docs to simplify first table example and introduce nested documentation

This commit is contained in:
Mark Otto 2011-10-07 23:54:50 -07:00
parent 9991f3faa1
commit 970c51dd99

View File

@ -869,53 +869,6 @@
<td>Dent</td>
<td>Code</td>
</tr>
<tr>
<td colspan="4">
span 4 columns
</td>
</tr>
<tr>
<td colspan="2">
span 2 columns
</td>
<td colspan="2">
span 2 columns
</td>
</tr>
<tr>
<td colspan="2">
<table>
<thead>
<tr>
<th>1</th>
<th>2</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
</tr>
</tbody>
</table>
</td>
<td colspan="2">
<table>
<thead>
<tr>
<th>1</th>
<th>2</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<pre class="prettyprint linenums">
@ -952,6 +905,37 @@
<td>Dent</td>
<td>Code</td>
</tr>
<tr>
<td colspan="4">
span 4 columns
</td>
</tr>
<tr>
<td colspan="2">
span 2 columns
</td>
<td colspan="2">
span 2 columns
</td>
</tr>
<tr>
<td colspan="4">
<table>
<thead>
<tr>
<th>1</th>
<th>2</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p><strong>Note:</strong> Zebra-striping is a progressive enhancement not available for older browsers like IE8 and below.</p>