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
Jaden Choi
1,741 PointsHow does float: left on .profile-photo moves h3 and p to the right column?
Aren't block elements supposed to start on new line?
When we float: left on .profile-photo, why does "About" and the description move to the right of the photo? Aren't block elements supposed to start on new line? I'm confused as to why changing the .profile-photo's float rule is affecting other block elements' behavior.
Also, aren't block elements supposed to take the whole width of the screen? Even when we float: left .profile-photo, shouldn't the img still be taking up the whole width of the screen since in main.css, we set .profile-photo's display to block?