Centering Content With A Full Width Header And Footer
Give me the Code! Surprisingly, there are only a few lines of CSS that need to be applied to the header and footer. At the very minimum, we need to set the min-width to 100% and float the elements to the left. While the float is not required, it will be necessary if you plan on containing elements in your header or footer that will have the float property applied as well since the float property takes elements out of their normal flow....