Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Stuck on setting up the Grid

Hey guys, only my second day on Treehouse and already stuck on something, wonder if any of you could give me some pointers. I'm on Creating a Website Structure, and on the "Working with Grids" part. I can't seem to get the code right, even after following the example code, it never centers on the screen like it shows in the instructional video. Anybody have a clue what mistake I could be making?

3 Answers

James Barnett
James Barnett
39,199 Points

Sounds like file path issue your link tag for the grid.css file. Here's a tutorial on file paths that should get you going.

Let us know how you are getting along with this here in this thread.

Ralph Mason
Ralph Mason
913 Points

It's hard to know without seeing your code. If you've put the "container" div in place, have the .container styles in the style sheet, and have linked to the style sheet in the head, it should work just fine.

Calum Patrick
Calum Patrick
3,349 Points

Download the project files and compare it's code with your own to see what you have done differently.