CSS code snippet – html How to ensure that the header always on top? #header { position: fixed; } #content { margin-top: 100px; } Curly hair, very fair, please share :)Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to email a link to a friend (Opens in new window) Subash Chandran 5th November 2021 Leave a Comment