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 trialRichard Targett
4,960 Pointsstuck on what their asking. which is?
have been out of loop since i only [just] got my workspaces bug fixt. what are they exactly asking here?
2 Answers
Rich Bagley
25,869 PointsHi Richard,
If I remember right the code should look something like this:
nav ul {margin: 0 10px;}
-
nav ul
is selecting the unordered list nested inside the nav element. -
margin: 0 10px
is setting the top and bottom margin to 0 and the left and right to 10px.
The margin will actually display in the following order: top right bottom left (which equals 0 10px 0 10px) but as the top and bottom are the same along with the right and left the shorthand would be 0 10px as above.
Thanks
-Rich
Richard Targett
4,960 PointsChallenge Task 1 of 4
Select the unordered list nested inside the nav element. Remove the margins on the top and bottom. Set the margins on the left and right to 10px.
Rich Bagley
25,869 PointsRich Bagley
25,869 PointsHi Richard,
Can you post the question please?
Thanks
-Rich