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

Regarding 'create a website structure'

Hi, I tried writing the code exactly and placing all the location of files and images perfectly.Still when I refresh my browser the grid doesnot move.!! Help me!

Thank You Tapan Joshi India

1 Answer

Wesley Ellis
Wesley Ellis
3,818 Points

What do you mean the grid doesn't move? The grid really doesn't move, what you are doing with grid.css is making elements take up portions of the page that are equivalent to 1/12th's of the page. By applying the different grid classes to the elements, they will take up different widths, such as .grid_3 making an element take up 3/12th's (or 1/4) of the page. I had a bit of trouble with this due to padding or margin, I can't remember which.

Make sure grid.css is the last css you have linked in you index.html file.