Search results
Results from the WOW.Com Content Network
1.5 Aligning the text in the first column to the left. ... 6 Scrolling tables with sticky column and row headers. ... Using HTML codes within wikitext;
sticky-table-colN: Make column N left sticky where N is a number from 1 to 2. Limit 1 to avoid stacking issues where a wider column 1 is still visible. Unpredictable results if the column spans or is spanned with the colspan attribute. Avoid making an excessively wide column sticky that might block too much data on narrow screens (ex. mobile ...
Consecutive rows of column headers are top sticky, so avoid adding a row of headers right under the column headers that don't apply to the entire table such as a section header meant to visually separate the table. A solution might be to move each section to a column or separate tables, which also avoids accessibility issues per MOS:COLHEAD.
A table is an arrangement of columns and rows that organizes and positions data or images. Tables can be created on Wikipedia pages using special wikitext syntax, and many different styles and tricks can be used to customise them.
If the first text-word is too long, no text will fit to complete the left-hand side, so beware creating a "ragged left margin" when not enough space remains for text to fit alongside floating-tables. If multiple single image-tables are stacked, they will float to align across the page, depending on page-width.
The two most commonly used classes are "wikitable" and "wikitable sortable"; the latter allows the reader to sort the table by clicking on the header cell of any column. |+ caption Required for accessibility purposes on data tables, and placed only between the table start and the first table row. ! header cell Optional.
More template styles for tables: {{sticky header}} - Makes column headers stick to the top of the page while scrolling through table data. {} - moves the sorting arrows under the headers. {{row hover highlight}} - adds row hover highlighting, and option for white background. {{static row numbers}} - adds a column of row numbers to a table.
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate