Align-Center Column Class

From HorizonXI Wiki
Revision as of 11:34, 15 November 2023 by Spiffly (talk | contribs) (Created page with "This class can be used to give a certain column(s) the following formatting: <pre>align="center"</pre> To use, simple use the following class where the # is replaced with the number of the column you wish to center align: <pre> class="center-col-#"</pre> The class can be used for any column of a table, providing there is no more than 8 columns. == Example == {| class="horizon-table table-md general-table center-col-2 center-col-4" ! width="25%" | Column 1 ! width="25...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This class can be used to give a certain column(s) the following formatting:

align="center"

To use, simple use the following class where the # is replaced with the number of the column you wish to center align:

 class="center-col-#"

The class can be used for any column of a table, providing there is no more than 8 columns.

Example

Column 1 Column 2 Column 3 Column 4
Aligned left text Aligned center text text text