Michael Grigsby Michael Grigsby - 2 months ago 18
CSS Question

css and html section structure issues

I have a webpage I need help restructuring. Each section in this html webpage uses the

tag. The issue I am having is getting each
tag to span the full width using css. For example, on stackoverflow there is obviously a header
tag, body
tag and a footer
tag. The header and footer both have background colors and span the full width of the page (no whitespace). I know css frameworks like bootstrap achieve this stuff, but I wanna know how do I achieve this using html and css without having to use a framework?


Do you want something like this ?

Want something like this