Use position: fixed on the div that contains your header, with something like In this example, when #content starts off 100px below #header, but as the user scrolls, #header stays in place. Of course it goes without saying that you’ll want to make sure #header has a background so that its content will actually be… Continue reading How to keep the header static, always on top while scrolling?