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

Build a Simple Website>Styling Content>Finishing the CSS ul.nav problem

Hi, I'm currently working through the Build a Simple Website instructional. I am almost finished on the Finishing the CSS video. I am trying to style my ul and have put in the code exaclty like the video says and my ul remains unchanged. Here is my code. Maybe I am missing something.

ul.nav {
        margin: 120px 0 0 0;
        list-style: none;
        float: right;
}

ul.nav li {
        float: left;
        margin-right: 40px;
}

Never mind. I had a syntax error in my index.html file. Got it fixed.

Hey, I am having that same problem, how did you fix it?!? http://codepen.io/anon/pen/fmHea

1 Answer

I was just missing an ">" in my html code in the index.html file.

Yes, mine was missing one as well for this line:

<div class="grid_8 omega">