Happy 2nd Anniversary! Check out the Character Models page for the new faces & hairstyles, available via the brand new Barbershop!
Please help to contribute towards the Anniversary 2024 page!
Align-Center Column Class: Difference between revisions
From HorizonXI Wiki
No edit summary |
m (added note that it doesnt work with rowspan/colspan tables) |
||
Line 19: | Line 19: | ||
| text | | text | ||
|- | |- | ||
| Aligned left text | |||
| Aligned center text | |||
| text | |||
| text | |||
|} | |} | ||
'''Note:''' This does ''not'' work when using the colspan or rowspan. |
Latest revision as of 00:58, 21 November 2023
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 |
Aligned left text | Aligned center text | text | text |
Note: This does not work when using the colspan or rowspan.