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

Fixed header 6 months 3 weeks ago #7323

  • JaapJan
  • JaapJan's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • 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 5 months 3 weeks ago #7363

  • simonbarne
  • simonbarne's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • 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.043 seconds
Copyright © 2021 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search