User:Timeshifter/Sandbox259

Table adapted from: List of countries by firearm-related death rate‎.
 * See discussion: Template talk:Sticky header

Used some of the relevant wikitext from this Qwerty284651 table:
 * Wikipedia talk:WikiProject Tennis

Fully-sticky table in scroll window
Relevant wikitext for table below:

The location column with flags in the table below sorts correctly in mobile browsers. Unlike the same table using sticky header here.



Partially-sticky table. Not in scroll window
It seems that removing this line of wikitext also removes the top sticky headers from desktop PC browsers:

The sticky row headers still work in both desktop and mobile. But the top sticky headers only work in mobile browsers.

Relevant wikitext for table below:

The location column with flags in the table below sorts correctly in mobile browsers. Unlike the same table using sticky header here.

