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 trialJohndri Hernandez
432 PointsI see that my text doesn't display after typing display: inline-block; What should I do?
In the nav where my Portfolio, About, Contact are listed, after typing the display command to have the text inline instead of a list vertically I noticed the program is not responding to my code and I'm having difficulty finding the error and have looked through the code over 10 times and still come up empty handed. Would someone please help me figure out what I'm doing wrong?
Johndri Hernandez
432 Pointsnav { text-align: center; padding: 10px 0; margin: 20px 0 0; }
nav ul { list-style: none; margin: 0 10px; padding: 0; }
na li { display: inline-block; }
1 Answer
Simon Duchaine
14,441 PointsYou forgot a "v" in your last selector! (na instead of nav)
Johndri Hernandez
432 PointsOH MY GOD! Thanks a lot, this has been puzzling me for hours that I was just blind to see one letter. Again thank a lot Simon.
Simon Duchaine
14,441 PointsSimon Duchaine
14,441 PointsCould you please copy/paste your code here? (Refer to markdown syntax for formatting in a code snippet).