Direct link to the article Including Navigation Code On All Pages (Even With Current Navigation Highlighting!)

Including Navigation Code On All Pages (Even With Current Navigation Highlighting!)

You’ve seen this a million times:

<ul>
  <li><a href="#">Home</a></li>
  <li><a href="#">About us</a></li>
  <li><a href="#">Contact us</a></li>
</ul>

The classic menu HTML which you can transform into any number of beautiful things through CSS. You could include that in all your pages …

Avatar of Chris Coyier
Chris Coyier on (Updated on )