Surf the DreamJustin Avery

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.

Comments

Be the first to comment

Comments are read before they appear. Your email address is never shown.

    Type to search titles and full text. ↵ opens the full results page.