You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd>Applied to <code>p</code> or <code>div</code> elements to create a formatted and automatically numbered example. See <ahref="#sec-example-class"></a>.</dd>
1362
1362
1363
-
<dt><code>center-cell</code></dt>
1364
-
<dd>Applied to a <code>td</code> element to center-align the content of that individual table cell. See <ahref="#sec-table-alignment-cell"></a>.</dd>
1363
+
<dt><code>center-cell</code>;</dt>
1364
+
<dt><code>right-cell</code>;</dt>
1365
+
<dt><code>left-cell</code>;</dt>
1366
+
<dt><code>top-cell</code></dt>
1367
+
<dd>Applied to a <code>td</code> element to override the alignment of that individual table cell. See <ahref="#sec-table-alignment-cell"></a>.</dd>
1365
1368
1366
1369
<dt><code>text-nowrap</code></dt>
1367
1370
<dd>Applied to an element to prevent line wrapping of its contents. This is commonly used on <code>th</code> or <code>td</code> elements to keep short identifiers, tags, or codes on a single line. See <ahref="#sec-table-width-nowrap-cell"></a></dd>
1368
1371
1369
1372
<dt><code>col-1-nowrap</code> through <code>col-8-nowrap</code></dt>
1370
1373
<dd>Applied to a <code>table</code> element to prevent line wrapping within the specified column. See <ahref="#sec-table-width-nowrap-column"></a></dd>
1371
1374
1375
+
<dt><code>col-xsmall</code>;</dt>
1372
1376
<dt><code>col-small</code>;</dt>
1373
1377
<dt><code>col-medium</code>;</dt>
1374
1378
<dt><code>col-wide</code></dt>
1375
-
<dd>Applied to <code>th</code> or <code>td</code> elements to suggest a relative column width for that cell. These classes provide narrow, medium, or wide column layouts without using inline <code>style</code> attributes. See <ahref="#sec-table-width-nowrap-cell"></a></dd>
1379
+
<dd>Applied to <code>th</code> or <code>td</code> elements to suggest a relative column width for that cell. These classes provide extra-narrow, narrow, medium, or wide column layouts without using inline <code>style</code> attributes. See <ahref="#sec-table-width-nowrap-cell"></a></dd>
1376
1380
1381
+
<dt><code>col-1-xsmall</code> through <code>col-8-xsmall</code>;</dt>
1377
1382
<dt><code>col-1-small</code> through <code>col-8-small</code>;</dt>
1378
1383
<dt><code>col-1-medium</code> through <code>col-8-medium</code>;</dt>
1379
1384
<dt><code>col-1-wide</code> through <code>col-8-wide</code></dt>
1380
1385
<dd>Applied to a <code>table</code> element to suggest relative widths for specific columns. See <ahref="#sec-table-width-nowrap-column"></a></dd>
1381
1386
1382
-
<dt><code>col-1-center</code> through <code>col-8-center</code></dt>
1383
-
<dd>Applied to a <code>table</code> element to center-align the contents of the specified column. Multiple classes may be combined to center multiple columns. See <ahref="#sec-table-alignment-column"></a>.</dd>
1387
+
<dt><code>col-1-center</code> through <code>col-8-center</code>;</dt>
1388
+
<dt><code>col-1-right</code> through <code>col-8-right</code>;</dt>
1389
+
<dt><code>col-1-left</code> through <code>col-8-left</code>;</dt>
1390
+
<dt><code>col-1-top</code> through <code>col-8-top</code></dt>
1391
+
<dd>Applied to a <code>table</code> element to override the alignment of the specified column. Multiple classes may be combined to align multiple columns. See <ahref="#sec-table-alignment-column"></a>.</dd>
1392
+
1393
+
<dt><code>list-none</code></dt>
1394
+
<dd>Applied to a <code>ul</code> element to remove bullet markers. See <ahref="#sec-list-none"></a>.</dd>
1384
1395
1385
1396
<dt><code>formula</code></dt>
1386
1397
<dd>Applied to a <code>div</code> element that contains a block <code>math</code> element to format and number displayed formulae. See <ahref="#sec-formulae"></a></dd>
To change the alignment of an entire column, a class such as <code>col-3-center</code>may be added to the <code>table</code>denoting which column to center align, as the below example shows.
1738
+
To change the alignment of an entire column, classes such as <code>col-3-center</code>, <code>col-3-right</code>, <code>col-3-left</code>, or <code>col-3-top</code>may be added to the <code>table</code>element. Multiple alignment classes may be combined across different columns, and multiple classes targeting the same column are also allowed since horizontal (<code>text-align</code>) and vertical (<code>vertical-align</code>) alignment are independent properties, as the below example shows.
<td>This is a longer description that spans multiple lines to demonstrate how <code>col-2-top</code> and <code>col-2-right</code> may be combined on the same column to independently control vertical and horizontal alignment.</td>
1752
1763
<td><code>Code 2</code></td>
1753
1764
</tr>
1754
1765
<tr>
1755
1766
<td>0003</td>
1756
-
<td>Name 03</td>
1767
+
<td>8</td>
1757
1768
<td><code>Code 3</code></td>
1758
1769
</tr>
1759
1770
</tbody>
1760
1771
</table>
1761
1772
1762
1773
<pclass="note">
1763
-
Classes are available to center align columns 1-8 (as<code>col-x-center</code>), and multiple classes to <code>table</code>may be added to align more columns as needed.
1774
+
Alignment classes are available for columns 1–8 using<code>col-x-center</code>, <code>col-x-right</code>, <code>col-x-left</code>, and <code>col-x-top</code>. Multiple classes may be combined on the same <code>table</code>to align different columns independently.
1764
1775
</p>
1765
1776
<pclass="note">
1766
1777
Tables over 8 columns wide should not be used and instead split into multiple smaller tables.
@@ -1771,15 +1782,15 @@ <h4>Column Alignment</h4>
1771
1782
<h4>Cell Alignment</h4>
1772
1783
1773
1784
<p>
1774
-
To change the alignment of an individual cell, the class <code>center-cell</code>may be added to each <code>td</code> as needed, as the below example shows.
1785
+
To change the alignment of an individual cell, classes such as <code>center-cell</code>, <code>right-cell</code>, <code>left-cell</code>, or <code>top-cell</code>may be added to each <code>td</code> as needed, as the below example shows.
<td>This is a longer description that spans multiple lines to demonstrate how the <code>top-cell</code> class aligns the content of the first two cells to the top of the row rather than the default middle alignment when adjacent cells contain more content.</td>
1821
+
</tr>
1806
1822
</tbody>
1807
1823
</table>
1808
1824
1809
1825
<pclass="note">
1810
-
The <code>center-cell</code> class may be added to as many <code>td</code> as needed.
1811
-
</p>
1812
-
1813
-
<p>
1814
-
Vertical cell alignment is not available at this time, and the default is set to top.
1826
+
Cell alignment classes may be added to as many <code>td</code> elements as needed and may be combined with column-level alignment classes.
1815
1827
</p>
1816
1828
</section>
1817
1829
</section>
@@ -2097,7 +2109,7 @@ <h3>Column Width and No-wrap (Column-level)</h3>
<caption>Column-level Width and No-wrap Table Sample</caption>
2131
2143
<thead>
2132
2144
<tr>
@@ -2416,6 +2428,31 @@ <h3>Complex List Example</h3>
2416
2428
</div>
2417
2429
2418
2430
</section>
2431
+
2432
+
<sectionid="sec-list-none">
2433
+
<h3>Unordered List Without Bullets</h3>
2434
+
2435
+
<p>
2436
+
To remove bullet markers from an unordered list, the class <code>list-none</code> may be applied to the <code>ul</code> element, as the below example shows.
0 commit comments