By apt94jesse on
Is there an easy (or difficult) way to assign the standard sticky thead property to a random div? I've been playing with the position:fixed property but I'm imagining there's some jquery acting on these because they're at a random vertical position but the top:0 is throwing me off.
I thought it might be an exclusive feature of the thead tag because it's vertically positioned inside of a table but the 'fixed' position wouldn't allow it to scroll off screen.
SO, I guess the short version is: how can I have a div somewhere vertically in the page but get stuck to the top when I scroll down, similar to the thead in the sticky-header class?
Thanks in advance!