Ads
related to: fixed table height with scroll bar
Search results
Results From The WOW.Com Content Network
The scrolling and sticky headers work in cell phones, too. Widest scrolling tables are on top of the list below. Narrow your browser window until you see a horizontal scroll bar. Drag it left and right to see the sticky row headers that stay visible. Template:2020 monthly cumulative COVID-19 death totals by country; Template:2021 2nd half.
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.
This is different from tables on webpages outside Wikipedia. Overall table widths (as opposed to max-widths) do not narrow on most pages outside Wikipedia. See max-width outside Wikipedia: CSS Height, Width and Max-width. Experiment with em and other width settings on another page outside Wikipedia: HTML Table Sizes.
The table above (even if some more columns are added) maintains one line per country for narrower browser and screen widths. So it is therefore more readable and scannable in long country tables. The table format below can greatly increase in number of lines, and require more vertical scrolling, especially if more columns are added.
The scrollbar only appears if the table is actually wider than the page. This template allows up to 30 row headers passed as parameters to its {{Scrolling table/top}} subtemplate, for convenience. Extra row headers can be added using regular table syntax, between the {{Scrolling table/top}} and the {{Scrolling table/mid}} subtemplates
Scrolling lists should not be used in article space. This includes reference lists , tables and lists of article content, image galleries , and image captions . This page in a nutshell: A scrolling list can be inserted into project pages, and other Wikipedia pages to make some text visible while hiding other text from that same list