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 trialDaniel Flannery
183 PointsWhat is wrong with this code ?
I've tried margin left and right I've tried negative 3, 5, 1
it's exactly like he shows in the vid. Why is it failing ?
.col {display:inline-block; margin-left: -3;
3 Answers
Dustin Matlock
33,856 PointsHi Daniel, here's what you should have to finish up.
.main-header {
padding: 5px;
}
.col,
.main-logo,
.main-nav,
.main-nav li {
display: inline-block;
margin-right: -5px;
vertical-align: top;
}
Josue Preciado
1,162 PointsIt looks like you are missing the closing }
Daniel Flannery
183 PointsI apologize I did not include the } when I copied the code into my note but I assure you its there.