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 Display Modes Display Modes Challenge

What 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

Hi 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;
}

It looks like you are missing the closing }

I apologize I did not include the } when I copied the code into my note but I assure you its there.