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 trialColeene Quintana
2,452 PointsWhy does one of my list items have space in between 2 list items?
I applied this unto the CSS under media query
.main-nav li { margin-right: -4px; }
but for some reason, there is about 1px or 2px in between tea and coffee. I'd attach what it looks like I don't think there is an option to.
2 Answers
KRIS NIKOLAISEN
54,971 PointsThis may be what you are experiencing. See the answer here
Rafael Castillo
Front End Web Development Techdegree Student 10,301 PointsThis also occurred to me, just increase the margin-right value to -5px and the remaining whitespace was removed.
KRIS NIKOLAISEN
54,971 PointsKRIS NIKOLAISEN
54,971 PointsIf you are using a workspace you can create a snapshot. It is the camera icon in the upper right corner. Clicking that will generate a link. Then the link can be shared here for others to access a copy of your workspace.