▲ 7 ▼ How to center the whole website? (lemdro.id) submitted 10 months ago by claim_arguably@lemdro.id to c/css@programming.dev 9 comments fedilink hide all child comments I have a .container div just after body that contains everything in page how to center it?
[–] emmanuelw@jlai.lu 2 points 10 months ago (1 child) Why not body {margin: auto;}? permalink fedilink source hideshow 1 child comment replies: [–] claim_arguably@lemdro.id [S] 2 points 10 months ago I'm a beginner doing the odin project. So i don't really know. permalink fedilink source parent
[–] claim_arguably@lemdro.id [S] 2 points 10 months ago I'm a beginner doing the odin project. So i don't really know. permalink fedilink source parent