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

Amanda Mitchell
Amanda Mitchell
2,160 Points

About page (text)

Hey guys, my text is wrapping under the profile picture when I resize the browser to the smallest (mobile). In other words, I don't get that nice single column. Any ideas as to why that would be?

Here's my code:

...css .profile-photo { float: left; margin: 0 5% 80px 0; } ...

4 Answers

Amanda Mitchell
Amanda Mitchell
2,160 Points

Here's my code:

...css .profile-photo { float: left; margin: 0 5% 80px 0; } ...

Have you tried removing the float declaration for .profile-photo?

Also, try styling from a mobile first perspective. It's easier to go from mobile to desktop, then from desktop to mobile because mobile styling is much more basic