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 trialiainmuirhead
2,024 PointsProfile 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
4 Answers
Steven Parker
231,110 PointsThe 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.
iainmuirhead
2,024 PointsThanks for the update and link to snapshot. https://w.trhou.se/rdqskckg3x
Steven Parker
231,110 PointsI got "Bummer... The Workspace Snapshot you are looking for doesn't exist."
The newer one works, you could delete this one.
iainmuirhead
2,024 Pointsiainmuirhead
2,024 PointsAdded 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.
Thanks again for your help. Good to know that help is out there.
Steven Parker
231,110 PointsSteven Parker
231,110 PointsYou can't share a direct URL to your workspace, it's temporary and only exists while you are using it.
But you can use the snapshot function in the workspace and provide the link to that.