css keep header at top code example Example: html how to ensure that the header always on top #header { position: fixed; } #content { margin-top: 100px; }