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 trialAntonija Kasum
4,918 PointsDon't understand "clear" property
I don't understand how clear property works. We had problems with the caption on the first 3 images so we are fixing the fourth image - first that doesn't make sense. Then I figured we are actually "forcing" the 4th image to go left. But if "the clear property specifies on which sides of an element floating elements are not allowed to float" than why did we say clear: left and not clear:right? I don't know if I'm making any sense i just didn't understand much the logic of fixing this problem :/.
1 Answer
Paul M
16,370 PointsThe "clear" element is to add an element previously added then to get rid of it such as "clear: float" would clear all the float for that element.
Antonija Kasum
4,918 PointsAntonija Kasum
4,918 PointsHmmm... I half understand this, but thanks.