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 trialGordon Jiroux
8,728 PointsChallenge Broken - CSS Layout Techniques - > Float Layout Challenge - > Task 1
The task is to float main-logo and .main-nav left.
and the following does not work:
.main-logo, .main-nav{ float: left; }
3 Answers
Jason Anello
Courses Plus Student 94,610 PointsHi Gordon,
It wants you to float the .main-nav
list items left. Not main-nav itself.
.main-logo,
.main-nav li {
float: left;
}
Gordon Jiroux
8,728 PointsI can't believe I missed that... that's what I get for not reading the whole sentence :)
Thanx Jason
Brian O'Grady
10,094 PointsThank you Jason,
I think the wording for the problem is very confusing. I didnt realize that the li should only be on the .main-nav item.