https://www.w3schools.com/howto/howto_css_center_website.asp
Use a container element and set a specific
max-width. A common width many websites use is 960px. To actually center the page, addmargin: auto.
https://www.w3schools.com/howto/howto_css_center_website.asp
Use a container element and set a specific
max-width. A common width many websites use is 960px. To actually center the page, addmargin: auto.
Why not body {margin: auto;}?
all 9 comments