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.

HTML How to Make a Website Adding Pages to a Website Style New Pages

style new pages

can some one help me out with this

8 Answers

If you're using firefox then you should have a horizontal scrollbar. You can scroll to the right and see your image in the top right corner.

The teacher's notes for the video has a correction for this problem. It has to do with the floated header.

I recommend instead that you clear the float in your wrapper element since that's the first element after the header.

Add the clear property to your existing wrapper rule:

#wrapper {
clear: both;
}

This will fix the profile photo problem as well as header gap problems that others have had.

Andrew McCormick
Andrew McCormick
17,729 Points

if you are following along with this video, the class name is '.profile-photo' not .profile-pic. The code itself is valid though.

.profile-pic {
  display: block;
  max-width: 150px;
  margin: 0 auto 30px;
  border-radius: 100%;
}

The class of the image in the challenge should actually be profile-photo

.profile-photo {
  display: block;
  margin: 0 auto 30px;
  max-width: 150px;
  border-radius: 100%;
}

lol its always the little mistakes

ok so i changed .profile-pic to .profile-photo and no there is no pic at all

 <section>
        <img src="img/me.jpg" alt="Photograph of Jose Sias" class="profile-photo">
        <h3>About</h3>
        <p>Hi I'm Jose Sias! This is my design profolio where i share all of my favorite work. When i'm not designing things, I enjoy exercising, playing video games, drinking good coffee, and more.</p>

`

i dont know what im doing wrong