This template uses TemplateStyles: |
This sandbox is using {{sticky header/testcases}}.
See: User:Timeshifter/Sandbox243.
I put only narrow 3-column tables here. Sometimes, wider tables visible on the same page prevent even narrow tables from having sticky headers. Depends on the CSS styles used.
Test sticky-header (no caption). Narrower tables
editHeader | Header 2 | Header 3 |
---|---|---|
3 | data | b |
1 | data | c |
2 | data | a |
Plain table:
Header | Header 2 | Header 3 |
---|---|---|
3 | data | b |
1 | data | c |
2 | data | a |
Test sticky-header (sortable). Narrower tables
editHeader | Header 2 | Header 3 |
---|---|---|
top | top | top |
3 | data | b |
1 | data | c |
2 | data | a |
bottom | bottom | bottom |
Plain table:
Header | Header 2 | Header 3 |
---|---|---|
top | top | top |
3 | data | b |
1 | data | c |
2 | data | a |
bottom | bottom | bottom |
Padding
edit(for padding)
More padding
edit(for even more padding)