ଛାଞ୍ଚ:Table class/import
Non visual template
This template generates internal code or markup, as opposed to visible content.This template uses TemplateStyles: |
This template imports a series of additional styling for tables implemented as CSS classes.
Usage
ସମ୍ପାଦନା{{table class/import}}
to import the styles in a page.
Use {{tc|classname1|classname2|..}}
or class="classname1 classname2 classname3"
to apply these to elements in the table, in the same location an equivalent {{ts}} call would be placed, for in-line styles.
CSS classes currently available or implemented:-
class | Scope & location of class invocation. | Effect and notes. |
---|---|---|
__boxc | table | Table is centered on page, with a 1px solid black border around it, collapsing cell borders. |
__cols | table | A 1px solid black right border is present on every table cell. |
__cell_vtp | table, cell | Cells in the table are top aligned, This class can also be applied to table cells indvidually. |
__ft | table | (Shorthand for figure table), Cells are right aligned, and to the bottom of a cell vertically. Table header entries are centerd. |
__label | cell | Left aligned text, aligned to the top of the table cell vertically. |
__grid | table | A 1px solid border is applied to every cell in the table, and around the table as a whole, indvidual cell borders are collapsed. |
__floatc | table | The table is centered within the page (or parent element) , equivalent formating to {{ts|mc}}
|
__ba | table | A 1 px solid border is placed around the entire table. |
__bt | row, cell | A 1 px solid border applied to the top of the appropriate element, equivalent formatting to {{ts|bt}}
|
__bb | row, cell | A 1 px solid border applied to the bottom of the appropriate element, equivalent formatting to {{ts|bb}}
|
If additional styles are added, please update this documentation.