Jump to content

User:Timeshifter/Sandbox256

From Wikipedia, the free encyclopedia

See also: User:Timeshifter/Sandbox255. Row and column sticky headers work fine in desktop PCs in the tables below. Narrow your browser window to see. See:

Sticky headers in the 2 tables below work inconsistently for both row and column headers in Firefox and Chrome in mobile view on my iphone SE 2020. They don't work at all in desktop view on my iphone.

Margin:0 lessens the space between text directly above the table, and the table itself. The only difference between the 2 scrolling tables below is the addition of margin:0 to the 2nd table below.
{| class="wikitable sortable mw-datatable defaultcenter col1left sort-under-center sticky-col1" style="margin:0; font-size: 90%;"

Scrolling table without margin:0

[edit]

Text directly above table.

Player Titles Dub Doh Ind Mia Mad Rom Can Cin Wuh Bei Boc Cha Ber San Phi Mos Tok Zur Years
United States Serena Williams 23 - - 2 8 2 4 3 2 - 1 - 1 - - - - - - 1999–2016
Switzerland Martina Hingis 17 - - 1 2 - 2 2 - - - - 2 1 - - 1 5 1 1997–2007
Germany Steffi Graf 15 - - 1 3 - - 2 - - - 1 1 5 - 1 - 1 - 1990–1996
Russia Maria Sharapova 14 - 1 2 - 1 3 - 1 - 1 - - - 2 - - 2 1 2005–2015
United States Lindsay Davenport 11 - - 2 - - - - - - - - - - 1 - - 4 4 1997–2005
Belgium Justine Henin 10 - - 1 - - - 2 - - - - 2 3 - - - - 2 2002–2007
Belarus Victoria Azarenka - 2 2 3 - - - 2 - 1 - - - - - - - - 2009–2020
Poland Iga Świątek - 2 2 1 1 3 - - - 1 - - - - - - - - 2021–2024
Spain Conchita Martínez 9 - - - - - 4 - - - - - 2 2 - 1 - - - 1993–2000
United States Monica Seles - - - 2 - 2 4 - - - - - 1 - - - - - 1990–2000
United States Venus Williams 2 - - 3 - 1 - - 1 - - 1 - - - - - 1 1998–2015
Romania Simona Halep 1 1 1 - 2 1 3 - - - - - - - - - - - 2014–2022
Czech Republic Petra Kvitová - 1 - 1 3 - 1 - 2 - - - - - - - 1 - 2011–2023
Belgium Kim Clijsters 7 - - 2 2 - 1 1 1 - - - - - - - - - - 2003–2010
Spain Arantxa Sánchez Vicario 6 - - - 2 - 1 2 - - - - 1 - - - - - - 1992–1996
France Amélie Mauresmo - - - - - 2 2 - - - - - 2 - - - - - 2001–2005
Serbia Jelena Janković - - 1 - - 2 - 1 - - - 1 - - - 1 - - 2007–2010
Denmark Caroline Wozniacki 1 - 1 - - - 1 - - 2 - - - - - - 1 - 2010–2018
Argentina Gabriela Sabatini 5 - - - - - 2 - - - - 1 2 - - - - - - 1991–1992
France Mary Pierce - - - - - 1 - - - - - 1 - 1 - 2 - - 1997–2005
Russia Dinara Safina - - - - 1 1 1 - - - - - 1 - - - 1 - 2008–2009
Poland Agnieszka Radwańska - - - 1 - - 1 - - 2 - - - - - - 1 - 2011–2016
Belarus Aryna Sabalenka - 1 - - 2 - - - 2 - - - - - - - - - 2018–2023
Player Titles Dub Doh Ind Mia Mad Rom Can Cin Wuh Bei Boc Cha Ber San Phi Mos Tok Zur Years

Text directly below table.

Scrolling table with margin:0

[edit]

Text directly above table.

Player Titles Dub Doh Ind Mia Mad Rom Can Cin Wuh Bei Boc Cha Ber San Phi Mos Tok Zur Years
United States Serena Williams 23 - - 2 8 2 4 3 2 - 1 - 1 - - - - - - 1999–2016
Switzerland Martina Hingis 17 - - 1 2 - 2 2 - - - - 2 1 - - 1 5 1 1997–2007
Germany Steffi Graf 15 - - 1 3 - - 2 - - - 1 1 5 - 1 - 1 - 1990–1996
Russia Maria Sharapova 14 - 1 2 - 1 3 - 1 - 1 - - - 2 - - 2 1 2005–2015
United States Lindsay Davenport 11 - - 2 - - - - - - - - - - 1 - - 4 4 1997–2005
Belgium Justine Henin 10 - - 1 - - - 2 - - - - 2 3 - - - - 2 2002–2007
Belarus Victoria Azarenka - 2 2 3 - - - 2 - 1 - - - - - - - - 2009–2020
Poland Iga Świątek - 2 2 1 1 3 - - - 1 - - - - - - - - 2021–2024
Spain Conchita Martínez 9 - - - - - 4 - - - - - 2 2 - 1 - - - 1993–2000
United States Monica Seles - - - 2 - 2 4 - - - - - 1 - - - - - 1990–2000
United States Venus Williams 2 - - 3 - 1 - - 1 - - 1 - - - - - 1 1998–2015
Romania Simona Halep 1 1 1 - 2 1 3 - - - - - - - - - - - 2014–2022
Czech Republic Petra Kvitová - 1 - 1 3 - 1 - 2 - - - - - - - 1 - 2011–2023
Belgium Kim Clijsters 7 - - 2 2 - 1 1 1 - - - - - - - - - - 2003–2010
Spain Arantxa Sánchez Vicario 6 - - - 2 - 1 2 - - - - 1 - - - - - - 1992–1996
France Amélie Mauresmo - - - - - 2 2 - - - - - 2 - - - - - 2001–2005
Serbia Jelena Janković - - 1 - - 2 - 1 - - - 1 - - - 1 - - 2007–2010
Denmark Caroline Wozniacki 1 - 1 - - - 1 - - 2 - - - - - - 1 - 2010–2018
Argentina Gabriela Sabatini 5 - - - - - 2 - - - - 1 2 - - - - - - 1991–1992
France Mary Pierce - - - - - 1 - - - - - 1 - 1 - 2 - - 1997–2005
Russia Dinara Safina - - - - 1 1 1 - - - - - 1 - - - 1 - 2008–2009
Poland Agnieszka Radwańska - - - 1 - - 1 - - 2 - - - - - - 1 - 2011–2016
Belarus Aryna Sabalenka - 1 - - 2 - - - 2 - - - - - - - - - 2018–2023
Player Titles Dub Doh Ind Mia Mad Rom Can Cin Wuh Bei Boc Cha Ber San Phi Mos Tok Zur Years

Text directly below table.