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

CSS How to Make a Website Styling Web Pages and Navigation Build Navigation with Unordered Lists

Dian Zhang
Dian Zhang
508 Points

I typed exactly the same code as instructed, but my preview doesn't have the navigations in one line...

And also, how can I post a screenshot or something like that to show my own coding? THX

2 Answers

Hi Dian, I realize you post is 10days ago, so you probably already figured it out. for what it is worth, here is what worked for me to get the navigations in one line. Let me know if it was worked for you.~ thanks bob.

nav li {
  display:inline-block;
}
Stuart Craig
Stuart Craig
11,914 Points

Use the Markdown Cheatsheet above the button that confirms your post. It will give you information on how to include images and, of course, code, which we'll need to see. :)