CSS CSS Layout Basics Getting Started with CSS Layout Centering Page Content and Creating a Full-width Header

Chloe Evans-Cross
Chloe Evans-Cross
4,466 Points

Can someone take a look at my code and tell me why the .container content isn't centering on the page? Thanks!

1 Answer

Ryan Groom
Ryan Groom
17,506 Points

Chloe Evans-Cross hey Chloe, I'm assuming this is your problem... in your style.css file when adding properties for the .container class you forgot a ";" after your width styling which is breaking your code. Let me know if this helps.