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 Techniques Float Layout The Float Clearfix

floats

how do I prevent the navigation menu to go down a line under the logo when the screen edge gets smaller?

I understand that floats work as as inline-block elements, and the instructor showed us how to fix this problem by using float:initial in this video. I am using a mobile first approach as the initial layout. My problem starts after the first break point of using media queries (min-with: 769px) and I want to keep the menu in a line after. any help?

I added the floats left to the a logo and navigation menu, and added the clearfix and is working find.

You gotta post your code Franklin.