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

Working With Grids - Building A Simple Website

I just wanted to add this cause I thought others might have the same problem I had and hopefully maybe won't have to waste all the time I did on it.

In the working with grids video in the build a simple website we're asked to create a div with a class of container and link it to the grid.css stylesheet.

I did everything exactly as asked but every time I refreshed my page, The page wouldn't center and didn't have margins around the content. I spent a very long time rewatching the beginning of the video and redoing my code and checking for typos and it still continued to come out wrong :S

Finally, I realized that a game I had been playing the day before had changed the screen resolution on my computer. I went back and reset my laptops screen resolution to normal and voila! margins :)

I just thought I would share in case anyone else had the same problem. It took me over an hour to figure out what was causing the problem.

1 Answer

Miriam, that worked perfectly for me! Thank you for the heads up. I kept looking through my code to see what I was doing wrong as well. :-p :-)