Menu bar with title - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu Bar

Description

Menu bar with title

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">
.header {<!--from   w  w  w .j a v a2 s .co m-->
   color:Chartreuse;
   display:inline-block;
   font-family:Myriad Pro;
   font-size:4em;
   line-height:2em;
   margin-bottom:23px;
   margin-left:3em;
   margin-top:0.6em;
}

.nav {
   background:none repeat scroll 0 0 yellow;
   position:absolute;
   width:100%;
   min-width:981px;
}

.navbar {
   display:block;
   float:right;
   margin-top:19px;
   padding-left:31px;
   position:relative;
}

.navitem {
   color:blue;
   margin:31px;
   padding:0.6em;
   text-align:center;
   text-decoration:none;
   vertical-align:middle;
}
</style> 
 </head> 
 <body> 
  <div class="nav"> 
   <h1 class="header">Lorem ipsu</h1> 
   <ul class="navbar"> 
    <li class="navbar"> <a href="http://www.twitter.com" class="navitem">Lorem i</a> </li> 
    <li class="navbar"> <a href="http://www.facebook.com" class="navitem">Lorem ip</a> </li> 
    <li class="navbar"> <a href="http://www.github.com" class="navitem">Lorem </a> </li> 
    <li class="navbar"> <a href="http://www.com" class="navitem">Lore</a> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials