Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.