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

HTML How to Make a Website Responsive Web Design and Testing Adjust the Profile Page and Header

Profile photo will not float left.

I have had success with this course and solved some challenges on the way. However I am sadly stuck on this and hit a brick wall. My profile photo will not float left. I have looked over several times, main.css, about.html, contact.html, index.html and responsive.css files.

https://teamtreehouse.com/workspaces/28389562#

Let me know if you need additional information to above files. Thanks

Steven Parker
Steven Parker
231,236 Points

You can't share a direct URL to your workspace, it's temporary and only exists while you are using it.

:information_source: But you can use the snapshot function in the workspace and provide the link to that.

4 Answers

Steven Parker
Steven Parker
231,236 Points

The profile photo is not currently floated.

But it can easily be, by adding something like this to your main.css:

.profile-photo {
  float: left;
  margin-right: 20px;  /* you might want this also to give a little space from the text */
}

It's still a photo of Nick, though. :wink:

Thanks for the update and link to snapshot. https://w.trhou.se/rdqskckg3x

Steven Parker
Steven Parker
231,236 Points

I got "Bummer... The Workspace Snapshot you are looking for doesn't exist."
The newer one works, you could delete this one.

Added the additional code as suggested and guess what? Yes! it worked. I am trying to understand why we had to add additional code? Also changed the "About" photo.

https://w.trhou.se/c45o0appp7

Thanks again for your help. Good to know that help is out there.