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

daniel raine
PLUS
daniel raine
Courses Plus Student 2,215 Points

Build a Simple Website - working with grids

http://cdpn.io/zHCwK

hi there,i have a little problem that i can't figure out.

I have linked my grid.css doc and indented code between my <div class="container"> tags and when i refresh in my browser everything is centered with my equal margin apart from my logo and "ul" at the top of the page which are still aligned left.

thanks in advance for any advice,i would like to know where i have went wrong for future reference, i have linked code at top of post.

cheers Danny

http://cdpn.io/arwys You didnt have the link for the grid i have added the link and added the container around it all and it is block centered but you need to add the grid classes. I have <!-- Commented the container closing div also -->

Hope this helps

Tom Bedford
Tom Bedford
15,645 Points

Adam Sackfield - you are always quick to give great advice on the forums but I often see it as a "comment" on the original post rather than an "answer". This means it looks like a response has 0 answers on the main forum page when you've already solved it (which can make things confusing!). I don't think you can be upvoted or be awarded "best answer" for comments either which means the thread can't be marked as "answered".

Cheers for the heads up Tom Bedford going to repost my most recent answers in correct place.

2 Answers

http://cdpn.io/arwys You didnt have the link for the grid i have added the link and added the container around it all and it is block centered but you need to add the grid classes. I have <!-- Commented the container closing div also -->

Hope this helps

Wicked good luck!

Click best answer to close it off please. daniel raine

http://cdpn.io/arwys You didnt have the link for the grid i have added the link and added the container around it all and it is block centered but you need to add the grid classes. I have <!-- Commented the container closing div also -->

Hope this helps