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 trialAmanda Mitchell
2,160 PointsAbout 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
2,160 PointsHere's my code:
...css .profile-photo { float: left; margin: 0 5% 80px 0; } ...
Devin Feemster
11,667 PointsHave you tried removing the float declaration for .profile-photo?
Devin Feemster
11,667 PointsAlso, 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
Amanda Mitchell
2,160 PointsOk. Will try that. Thanks.