CSS CSS Layout Basics CSS Layout Project Introducing the Project

Ryan Canty
PRO
Ryan Canty
Pro 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
Pro Student 5,665 Points

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