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 Enhancing Design with CSS Finishing Touches Applying Media Queries

Why did not use float properties?

I think float an clear properties are designed for two column layers. Why the video did not suggest use these two?

1 Answer

dustin usey
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
dustin usey
Front End Web Development Techdegree Graduate 21,327 Points

Hey susan kaldenberg - That is a great question! You will find many solutions to the same problem as you journey through frontend development. Some work better than others, some are easier, and some are just personal preference. The way Anwar decided to do it in this video was a pretty interesting approach and offers some new perspective on laying out content. Soon you'll learn some really awesome, easier ways to tackle content structure.

I challenge you to, if you haven't already, try laying out your two-column layout with floats instead and see what you find. Was it harder? Was it easier? Did it introduce some weird bugs? Trial and error is the best way to learn! :smile: