How do I make the nav bar scroll?

Tell us what’s happening:
Describe your issue in detail here.
I’m confused. What does overflow mean exactly? I can’t even scroll to the bottom.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

Challenge: Build a Technical Documentation Page

Link to the challenge:

Like “list item in a book”

What do you mean list item in a book?

When click link . You go to your page you want

Yeah I have the ID attribute connected to the section and such. But how do you make the nav bar scroll using your mouse or trackpad?

position: fixed and height of ul less than 100%

#navbar {
  position: fixed;
  min-width: 290px;
  top: 0px;
  left: 0px;
  width: 300px;
  height: 100%;
  border-right: solid;
  border-color: rgba(0, 22, 22, 0.4);
}

#navbar ul {
  height: 88%;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.