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 3 years 2 weeks ago #7323

  • JaapJan
  • JaapJan's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 116
  • 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 2 years 11 months ago #7363

  • simonbarne
  • simonbarne's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 5
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.047 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search