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

CSS CSS Layout Basics CSS Layout Project Introducing the Project

Ryan Canty
PLUS
Ryan Canty
Courses Plus Student 5,665 Points

How can I prevent the below element from wrapping the above floats?

Here is an image of my problem:http://imgur.com/a/IwmCq

How can I make the below element appear not wrapped in the above floats? Thanks

1 Answer

Will Brant
Will Brant
2,240 Points

Hi Ryan. Have you tried using clearfix class on the bottom element? Or try adding in clear: both to the bottom element.

Ryan Canty
Ryan Canty
Courses Plus Student 5,665 Points

Just used clear:both and it worked. Thanks so much!