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

HTML

My nav text doesn't align to the right.

```@media screen and (min-width: 660px) {

/***************************************************** HEADER *****************************************************/

nav {

background: none;
float: right;
font-size: 1.125em;
margin-right: 5%;
text-align: right;
width: 45%;

}

If you have it on workspaces then you should be able to link to the web address that you see in your preview.

4 Answers

I got I entered my code in w3c CSS validator and I had two errors . 2 extra. } Thank you guys

You forgot a '#' or a '.' before 'nav {' perhaps?

I think it's the nav element.

I tried that and it doesn't work. Thanks

Try putting your code into http://codepen.io/ and sending us the link so that we can see what else is up?