Search results
Results from the WOW.Com Content Network
|-adds a new row, which should be followed by the same number of cells found in other rows. Note, rowspan="2" and colspan="2" can be used on cells to span multiple rows and columns. Header cells are created with ! Header cell, which can be column or row headers. Data cells are created with | Data cell. A new column can be added by adding ...
Solution: divide one of the tall cells so that the row gets one rowspan=1 cell (and don't mind the eventual loss of text-centering). Then kill the border between them. Don't forget to fill the cell with nothing ({}). This being the only solution that correctly preserves the cell height, matching that of the reference seven row table.
Note that with row headers you need to use a separate row in the wikitext for the row header cell. Here below is what a table looks like if the data cell wikitext is on the same line as the row header wikitext. Note that the data cell text is bolded, and the data cell backgrounds are the same shade of gray as the column and row headers.
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.
This also applies to other coding approaches, such as divs with CSS styling, or rowspan and colspan HTML cell attributes. Nesting data tables with header cells also makes it difficult for assistive readers to parse them sensibly, and should be avoided.
sticky-header-multi: Requires sortable table. Make multiple header rows top sticky. Avoid use with the sorttop class that becomes sticky after sorting. Avoid making headers sticky that aren't for the entire table (ex. section header rows). Avoid making excessively tall header rows sticky that might block too much data on short screens (ex ...
<-- This row has three table data cells <-- This row has two. The first uses colspan="2" <-- This row has three table data cells, but one spans two rows because it uses rowspan="2" <-- This row has only two table data cells, because its first is being taken up
2) The RHCP pages aren't using a table, but a chart table (de:Vorlage:Charttabelle), which looks like a table in a desktop browser, but changes in a mobile browser so that row data is displayed vertically as opposed to horizontally with the column headers listed at the top of the entire chart. In certain curcumstances, this might be a better ...