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 How to Make a Website Adding Pages to a Website Style New Pages

stefano greco
stefano greco
1,624 Points

Space between profile img and nav

Hi guys, when I write the css for nick.jpg I can't see the space between the nav and the image. I tried to change the margin with 5% on the top, instead 0 like in the video, and it works. What could be the reason?

Thank you

.profile-photo {
    clear: both;
    display: block;
    max-width: 150px;
    margin: 5% auto 30px;
    border-radius: 100%;
}
stefano greco
stefano greco
1,624 Points

::: RESOLVED :::

Thank you anyway!

2 Answers

So what was the answer to this, please, as I am having the same issue. Thanks!

Arthur Salomon
Arthur Salomon
844 Points

Same problem, for some reason adding margin to the top does not work.