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 trialBob Sutherton
20,160 PointsFloating a lot of images
Have you ever been working on a project where you were asked to squeeze a lot of images into text? I was editing an interview for someone and they had a ton of images which they wanted me to fit into the interview. About 50 images.
The only method I know is the float method. I suggested that we omit some of the photos but they wanted to keep them all. So I pressed on, and got it done, but there were some straggling lines of text, so to speak (if you know what I mean).
So, was I right in suggesting to eliminate some of the photos or is there another way to make a lot of images float nicely?
1 Answer
Andreas cormack
Python Web Development Techdegree Graduate 33,011 Pointsyes its possible to float them properly long as you get your width calculations correct. Make sure all width values are in % and you take into account your margins.