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

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

Eli Levin
Eli Levin
340 Points

inline-block seems to not work for me.

I set nav li to display: inline-block; just like Nick did in the video, but my nav section is not expanding like his did when the browser window is resized. Anybody have any idea why this might be happening?

Mike Schaming
Mike Schaming
13,925 Points

Hi Eli- can you post your code? thanks

jacksonpranica
jacksonpranica
17,610 Points

I agree with Mike, showing some code in this comment section would help find the problem.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

The easiest way to troubleshoot this for you would be to get a snapshot of your workspace. You can create a snapshot by clicking the camera icon on the upper right-hand side of the workspace then post the link here.

But before you do that, let's check some basics. Make sure you save the file. Relaunch the preview then refresh the page. If this still doesn't work, try clearing the browser cache or launching in a private tab. There's the off chance that it's loading in cached data instead of your altered file.

1 Answer

You could try this:

´´´ CSS nav ul li{ display: inline; } ´´´