I recently ran across this “article” that explains how to center content with only the use of the html and body tag. But what I can’t not figure out is how to make a full width header and footer while still having my content centered using this method. Any suggestions?
Share
I don’t think you can, if you use the
bodytag as adiv, then any otherdivs inside it will only have the width of thebodytag. Sowill make any
divs have a maximum width of 200px.see this jsfiddle.