Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.
  • Page:
  • 1

TOPIC:

Fixed header 1 year 1 month ago #7323

  • JaapJan
  • JaapJan's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 115
  • Thank you received: 1
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!

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

Last edit: by JaapJan.

Fixed header 1 year 3 weeks ago #7363

  • simonbarne
  • simonbarne's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 3
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:
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.

  • Page:
  • 1
Moderators: ingdon
Time to create page: 0.042 seconds
Copyright © 2022 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search