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

Yacine Freifer
Yacine Freifer
6,717 Points

Trouble with ul.nav not moving

I'm following Nick on "Finishing the CSS" at position 0:27 of the video. I'm using this code to position my hyperlinks horizontally, but still to no avail it is not working. Here is the code:

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

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

2 Answers

Yacine Freifer
Yacine Freifer
6,717 Points

I solved the problem...but i had to remove the the div class="grid_8 omega" from the ul i think the omega was preventing it from moving freely and restricting it.

for me works fine, you can check maybe you missed to close div with this >