What we did here is that we added width 100% so that the .header-img div takes the full width of it's parent which is in this case the main element. Solution: HTML CSS Footer With Responsive Design – Fixed Bottom Footer. The HTML’s latest version HTML5 introduced the separate