<header>This text is centerd</header>
<nav>
  <a>One</a>
  <a>Tow</a>
  <a>Three</a>
</nav>
body {
  background: #f06d06;
}
header, nav {
  color: #666;
  background: #fff;
  border-radius: 5px;
  padding: 10px 0;
  margin: 10px;
  text-align: center;
}
nav a {
  background: #888;
  padding: 3px 5px;
  color: #fff;
  margin: 0 5px;
  border-radius: 2px;
  text-align: center;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.