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
Francisco Sandoval
5,657 PointsMy 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%;
}
4 Answers
Francisco Sandoval
5,657 PointsI got I entered my code in w3c CSS validator and I had two errors . 2 extra. } Thank you guys
mbukhonko
3,988 PointsYou forgot a '#' or a '.' before 'nav {' perhaps?
Jason Anello
Courses Plus Student 94,610 PointsI think it's the nav element.
Francisco Sandoval
5,657 PointsI tried that and it doesn't work. Thanks
mbukhonko
3,988 PointsTry putting your code into http://codepen.io/ and sending us the link so that we can see what else is up?
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsIf you have it on workspaces then you should be able to link to the web address that you see in your preview.