Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This didn't work for a long time. Chrome previously disabled position sticky on thead and tr elements: https://issues.chromium.org/issues/41303743

I remember the browser support matrix showed almost all green when it didn't work for tables in Chrome.



Yeah surprised too this is this simple now. Granted it was a while ago I needed this, but you had to add random cruft to the html and CSS to make this work across browsers. Which somehow didn't even surprise me because that's how webdev works in a nutshell.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: