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 problem Margin doesn't work

I'm following the video "working with grids" and I did the indention (Windows: CTRL+ ] to add a space) between the images and the <div tag but it doesn't create the margin on my page. Idk what I am doing wrong.

Also can anyone explain if when we code css do we need specified amount of spaces for certain elements?

Can anyone help me? Here is my code in CodePen: http://cdpn.io/Lpldm

Please someone help me because I can't proceed without fixing this problem.

I've watched the video 10 times (or more) and went over my code, I can't figure it out. =-/

Which part of the code?

Also you seem to have buttons within <P>aragraph tags and you "Bake me blush" image and others have no closing ">"

Between <img src="img/logo.gif" alt="Smells Like Bakin"> <p> © Copyright 2012 Smells Like Bakin Cupcake Company. All rights reserved. </p> I added a space. I think those are the parts that require. But it did not affect.

I pasted the two codes here and I added 4 spaces that I was told to do and it shows " copyright,...." when actually I had codes... I'm confused...

1 Answer

Matt Campbell
Matt Campbell
9,767 Points

Where's the CSS for the pen gone?

Are you trying to add margin between an image and something else? What does CTRL + ] do as you haven't said what editor you are using?