Full Width Navigation Bar - CSS - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Nav Bar

Description

Full Width Navigation Bar - CSS

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
@charset"utf-8";<!--   w ww. j av a 2 s  . c o m-->

ul {
   list-style-type:none;
   margin:0;
   padding:0;
   overflow:hidden;
}

li {
   float:left;
   width:26%;
}

a.Nav_Links:link, a.Nav_Links:visited {
   display:block;
   font-weight:bold;
   text-align:center;
   padding:5px;
   text-decoration:none;
   text-transform:uppercase;
}

a.Nav_Links:hover, a.Nav_Links:active {
   background-color:Chartreuse;
}
</style> 
 </head> 
 <body> 
  <div class="Banner" id="banner"> 
   <h1 style="text-align:center; color:red; font-size:5em">Lorem ip</h1> 
  </div> 
  <div class="Nav_Bar"> 
   <ul> 
    <!-- Fix links # --> 
    <li> <a class="Nav_Links" href="#home">Lorem ip</a> </li> 
    <li> <a class="Nav_Links" href="#news">Lorem ip</a> </li> 
    <li> <a class="Nav_Links" href="#contact">Lorem ip</a> </li> 
    <li> <a class="Nav_Links" href="#about">Lorem ip</a> </li> 
   </ul> 
   <!-- About Me, Link to Linked in, Research Projects, Resume, etc Pictures --> 
  </div>  
 </body>
</html>

Related Tutorials