CodePen

HTML

            
              <div class="wrapper">
  
  <header class="header">
    <img id="logo" src="images/logo.png"/>
    <nav id="headernav">
      <a href="#">NAV 1</a>
      <a href="#">NAV 2</a>
      <a href="#">NAV 3</a>
      <a href="#">NAV FOUR</a>
      <a href="#">NAV FIVE</a>
      <a href="#">NAV SIX</a>
    </nav>
  </header>
</div>

            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              body {
  font-family:Arial;
  font-weight:900;
}

.wrapper {
  width:980px;
  border:solid 2px black;
  margin:0 auto;
}

header {
  width:100%;
  overflow:hidden;
  height:100px;
  border-bottom:solid 2px black;
  background: rgb(4,81,140); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(4,81,140,1) 0%, rgba(0,48,86,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(4,81,140,1)), color-stop(100%,rgba(0,48,86,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(4,81,140,1) 0%,rgba(0,48,86,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(4,81,140,1) 0%,rgba(0,48,86,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(4,81,140,1) 0%,rgba(0,48,86,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(4,81,140,1) 0%,rgba(0,48,86,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#04518c', endColorstr='#003056',GradientType=0 ); /* IE6-9 */
}

#logo {
  margin-top:-42;
  float:left;
  width:220px;

}

#headernav {
  font-size:24px;
  float;left;
}


#headernav a {
  text-decoration:none;
  color:#e5e5e5;
  float:left;
  border-right:1px solid white;
  padding:0 15px;
  height:100px;
  line-height:100px;
}

#headernav a:last-child {
  border-right:none;

}

            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................