. All the important links like contact information, map integration, internal linking, etc. You can easily create sticky or fixed header and footer using the CSS fixed positioning.Simply apply the CSS position property with the value fixed in combination with the top and bottom property to place the element on the top or bottom of the viewport accordingly. 24. Fixed Header and Footer Layout Demo. Submit it here by clicking the link below, Follow @sourcecodester 41. For example, if you want footer height 100px then margin-bottom also be 100px. HTML