Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

yoobin hong
6,645 PointsMy image is not floating to the left
When i typed in my code for the About page to have the photo float to the left, nothing is happening.
I wrote the code
.profile-photo { float: right; margin: 0 5% 80px 0; }
but nothing is happening for some reason. I made sure I didn't have typo for the class name and it is the same.. What could be causing this problem?
1 Answer

yoobin hong
6,645 PointsThat was actually a typo (I was trying to float it to the right to see if it made any difference). I actually found out as I was re-reading my code to see what was causing this issue and found out that I didn't have my responsive.css file linked correctly on my about.html ahahaha. Thank you for reaching out so quickly!!

Angela Visnesky
20,927 PointsGlad you found the error!
Angela Visnesky
20,927 PointsAngela Visnesky
20,927 PointsHi Yoobin! Your code says that you have the float set to float: right. Have you tried changing that to float: left?