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 trialJo Young
501 PointsAdjust Profile Page Photo
I am working on adjusting the profile page. When I am floating the profile photo left, I refresh my page and my photo remains centered on my about page. I can't find my error / mistake. Can someone help me please? Thank you.
/******************* PAGE ABOUT *******************/
.profile-photo { float: left; margin: 0 5% 80px 0; }
2 Answers
Jake Nisenboim
3,374 PointsAlternatively, workspaces can be slow to make update the port and thus make the changes.
Did you get it working ?
Cati lucian
10,119 PointsHello Jo Young !
do you put this code : .profile-photo { float: left; margin: 0 5% 80px 0; }
in the first query @media screen and (min-width: 480px) ?
Garrett Sanderson
12,735 PointsGarrett Sanderson
12,735 PointsTry giving the div that your profile photo is in a width of something less that 100%; By default the photo's div will be 100% if not specified otherwise.