This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.

Fixed header

  • JaapJan
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 3 months ago - 5 years 3 months ago #7323 by JaapJan
Fixed header was created by JaapJan
Hi there. Does anybody knows how to create a table with a feixed header? I am using the page charts > table. On the internet I found a lot of code (html, java), but none of them works in that page. Any idea?

Thanks,

JaapJan Vroom

Holy cow!
Last edit: 5 years 3 months ago by JaapJan.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #7363 by simonbarne
Replied by simonbarne on topic Fixed header
If you mean a "sticky" header that stays in place while the rows below scroll, adding this style to the table parent page seems to work:
Code:
table.header tr:first-child td { position: sticky; top: 0; z-index: 1; background-color: white; }

Please Log in or Create an account to join the conversation.

Moderators: ingdon
Time to create page: 0.141 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo