Search results
Results from the WOW.Com Content Network
a semicolon-separated list of additional CSS rules to be applied to the table cell. Default (template dependent) String: optional: background color: color: a valid CSS color value or name to override the standard cell background, only available with some templates. Default (template dependent) Line: optional
For table markup, it can be applied to whole tables, table captions, table rows, and individual cells. CSS specificity in relation to content should be considered since applying it to a row could affect all that row's cells and applying it to a table could affect all the table's cells and caption, where styles closer to the content can override ...
See also: Meta: Community Wishlist Survey 2022/Reading/floating table headers and meta:Community Wishlist Survey 2021/Reading/Enable sticky table headers. A scrolling table in the sense of the vertical scrollbar for the whole page. When you scroll the page the table headers stay visible when the table goes beyond the top of the screen.
Template:Diagonal split header allows splitting the background color (see below) Template:Diagonal split header 2 produces a line with consistent thickness in very large table cells (see below) As the effect is achieved by drawing a diagonal line across the cell, the two headers are still part of the same cell and can easily overrun the line.
! colspan="2" {{vert header|cellstyle=background-color:gold|Your text here}} – produces a header spanning two columns, with a gold background; use no vertical bar after colspan; You can also use the ! {{verth|Your text here}} shorthand. An example below (from Help:Sortable tables) with headers that span rows or columns (using rowspan and ...
On Android phones, table headers aren't top-sticky if at least one table using this template is wider than the screen, which is more likely in portrait orientation. The table's horizontal scroll doesn't work with this template, so wide tables span outside of the main content area making the entire page wider and requiring you to instead ...
1.1 Background colour and non-header cells. 1.2 Spanning columns and rows, and collapsible and sortable tables. 2 Template data. 3 Technical notes.
For example, nested tables (tables inside tables) should be separated into distinct tables when possible. Here is a more advanced example, showing some more options available for making up tables. Users can play with these settings in their own table to see what effect they have.