I am working on a Julia package that supports the Tables.jl interface. It does one thing: given a table, it formats it into HTML for browsing:
I would like to implement the following in CSS: for large tables, have the header (
<thead>) fixed at the top of the screen, and the table body (
<tbody>) scrollable if it does not fit on the screen. I am looking for a pure CSS solution, no JS. As simple as possible, with reasonable browser support (or a sensible fallback).
Help in the form of a PR would be appreciated. (I of course tried searching online, but ended up with so many options, many of which did not work, that I gave up for now).