having a header static on top of a div while scrolling code example
Example: html how to ensure that the header always on top
#header {
position: fixed;
}
#content {
margin-top: 100px;
}
#header {
position: fixed;
}
#content {
margin-top: 100px;
}