Formatting lists

Sorry if I’m asking too many questions on here, but I’ve been fiddling with these lists and can’t figure out how to make the

  • elements stack on top of each other in a column rather than appear in a row. Any advice would be greatly appreciated.

    https://codepen.io/brianjohnford/pen/rNWMqeq

  • Have you tried flexbox?

    li {
      display: inline;
      padding: 10px;
    }
    

    If you don’t want them to be in a row, why did you use display: inline?

    I should have seen that! I used online for the links in the header, but I now realize that it applies to all lists.

    Thank you for your help!

    I’m glad I could help. Happy coding!

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