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

Styling content question

Hi All,

I'm currently working on the Styling content stage in the Build a simple website tutorial. It's been smooth sailing, until I got to the end of the .css portion. My css file was working smoothly until I attempted to move my unordered list to the right side of the page, and attempt to make it a horizontal list (from a vertical one).

The problem looks to be that I can't call my HTML nav class from my css page. When I add the code, it doesn't do anything.

Any suggestions?

Here is my code: http://cdpn.io/qceiv I've never used codepen before, so I'm not exactly sure I did it right.

2 Answers

Mike Bronner
Mike Bronner
16,395 Points

You are missing a closing > on the div right before the menu. That will fix it. :)

Ha. Love when that happens. thanks!

Mike Bronner
Mike Bronner
16,395 Points

No problem. :) It's always a relief to see its something so simple. :)