Skip to content

Commit 970c51d

Browse files
committed
update docs to simplify first table example and introduce nested documentation
1 parent 9991f3f commit 970c51d

File tree

1 file changed

+31
-47
lines changed

1 file changed

+31
-47
lines changed

docs/index.html

Lines changed: 31 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -869,53 +869,6 @@ <h3>Example: Default table styles</h3>
869869
<td>Dent</td>
870870
<td>Code</td>
871871
</tr>
872-
<tr>
873-
<td colspan="4">
874-
span 4 columns
875-
</td>
876-
</tr>
877-
<tr>
878-
<td colspan="2">
879-
span 2 columns
880-
</td>
881-
<td colspan="2">
882-
span 2 columns
883-
</td>
884-
</tr>
885-
<tr>
886-
<td colspan="2">
887-
<table>
888-
<thead>
889-
<tr>
890-
<th>1</th>
891-
<th>2</th>
892-
</tr>
893-
</thead>
894-
<tbody>
895-
<tr>
896-
<td>1</td>
897-
<td>2</td>
898-
</tr>
899-
</tbody>
900-
</table>
901-
</td>
902-
<td colspan="2">
903-
<table>
904-
<thead>
905-
<tr>
906-
<th>1</th>
907-
<th>2</th>
908-
</tr>
909-
</thead>
910-
<tbody>
911-
<tr>
912-
<td>1</td>
913-
<td>2</td>
914-
</tr>
915-
</tbody>
916-
</table>
917-
</td>
918-
</tr>
919872
</tbody>
920873
</table>
921874
<pre class="prettyprint linenums">
@@ -952,6 +905,37 @@ <h3>Example: Zebra-striped</h3>
952905
<td>Dent</td>
953906
<td>Code</td>
954907
</tr>
908+
<tr>
909+
<td colspan="4">
910+
span 4 columns
911+
</td>
912+
</tr>
913+
<tr>
914+
<td colspan="2">
915+
span 2 columns
916+
</td>
917+
<td colspan="2">
918+
span 2 columns
919+
</td>
920+
</tr>
921+
<tr>
922+
<td colspan="4">
923+
<table>
924+
<thead>
925+
<tr>
926+
<th>1</th>
927+
<th>2</th>
928+
</tr>
929+
</thead>
930+
<tbody>
931+
<tr>
932+
<td>1</td>
933+
<td>2</td>
934+
</tr>
935+
</tbody>
936+
</table>
937+
</td>
938+
</tr>
955939
</tbody>
956940
</table>
957941
<p><strong>Note:</strong> Zebra-striping is a progressive enhancement not available for older browsers like IE8 and below.</p>

0 commit comments

Comments
 (0)