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

Fixed header

Plus d'informations
il y a 5 ans 4 mois - il y a 5 ans 4 mois #7323 par JaapJan
Fixed header a été créé par 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!
Dernière édition: il y a 5 ans 4 mois par JaapJan.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 3 mois #7363 par simonbarne
Réponse de simonbarne sur le sujet 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; }

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ingdon
Temps de génération de la page : 0.167 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo