HTML table with horizontal scrolling (first column fixed)

How about: table { table-layout: fixed; width: 100%; *margin-left: -100px; /*ie7*/ } td, th { vertical-align: top; border-top: 1px solid #ccc; padding: 10px; width: 100px; } .fix { position: absolute; *position: relative; /*ie7*/ margin-left: -100px; width: 100px; } .outer { position: relative; } .inner { overflow-x: scroll; overflow-y: visible; width: 400px; margin-left: 100px; } <div … Read more

Sticky sidebar: stick to bottom when scrolling down, top when scrolling up

+1 to the very nice and ilustrative image. I know it’s an old question, but I casually found the same question posted by you in forum.jquery.com and one answer there (by@tucker973), suggested one nice library to make this and wanted to share it here. It’s called sticky-kit by @leafo github project webpage simple example in … Read more