I've done some simple HTML pages in the past. Now I'd like to add a navigation sidebar. Looking for an example I've found one that seems to do what I need.
I've tried and modified this example which also can be viewed and tested online:
https://www.w3schools.com/css/tryit.asp?filename=trycss_navbar_vertical_fixed
The list of links only contains hashes so nothing happens when clicking on any of these.
So I've added my own link to the bottom of the list:
<li><a href="https://de.wikipedia.org">Wiki</a></li>
Clicking my own link "Wiki" opens Wikipedia. However this link is opened using up the complete window instead of only the right part of the window. The navigation bar disappears.
Now my question is how to define my own links that open only in the right hand side of the window keeping the navigation bar visible.
I'm working on a Windows PC using Firefox.
The article linking to the example may be found here:
https://www.w3schools.com/css/css_navbar.asp
Thank you very much.