Categories
Links

CSS-Only Sticky Headers for Tables, Using ‘position: sticky’

What’s neat about this is that you get the effect of the static table headers by introducing a few lines of css. No jQuery, no weird css that breaks the semantic intent of the content, and no javascript handlers built off scroll events. It’s not ready for prime time just yet, but it’s worth keeping in mind as you take on new projects.

http://charliepark.org/css-only-sticky-headers/

Leave a Reply

Your email address will not be published. Required fields are marked *