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

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 >