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 trialSrivalli Vajjha
5,061 Pointsclear:both what does it mean ?
clear:both what is the purpose
1 Answer
elk6
22,916 PointsHi Srivalli,
clear:both means you are clearing both floats. Left and right. Clear: left; would mean you are clearing your left floats, clear:right; the right floats and clear: both; clears both floats.