Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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. :)