<a>
tags)See the Pen topnav-example by Joshua Burke (@Dangeranger) on CodePen.
Follow the link to see a fairly complete navigation bar with internally linked content that includes:
#nav {
position: fixed;
width: 100%;
}
#nav li:first-child {
border-left: 1px solid #ccc;
}
#nav li a:hover {
color: #40f;
background-color: #fff;
}
.section {
margin-top: 3em;
}
/