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

Adjust 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; }

Garrett Sanderson
Garrett Sanderson
12,735 Points

Try 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.

2 Answers

Alternatively, workspaces can be slow to make update the port and thus make the changes.

Did you get it working ?

Cati lucian
Cati lucian
10,119 Points

Hello 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) ?