Adjust two horizontal lists - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Horizontal

Description

Adjust two horizontal lists

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">
.nav-bottom {
   display:inline;
   float:left;
   width:556px;
   margin-top:81px;
}

.nav-bottom ul {
   height:19px;
   width:556px;
   display:block;
}

.nav-bottom ul li {
   display:inline-block;
   min-width:51px;
}

.nav-bottom a {
   display:inline-block;
   color:Chartreuse;
   margin-left:9px;
}
</style> <!--from   w ww. j a v  a 2  s  .  c  o m-->
 </head> 
 <body> 
  <div class="nav-bottom"> 
   <ul id="top-bnav"> 
    <li> <a href="#" class="active">Home</a> </li> 
    <li> <a href="#">Link</a> </li> 
    <li> <a href="#">Link</a> </li> 
    <li> <a href="#">Link</a> </li> 
   </ul> 
   <ul id="bottom-bnav"> 
    <li> <a href="#">Link</a> </li> 
    <li> <a href="#">Link</a> </li> 
    <li> <a href="#">Link</a> </li> 
    <li> <a href="#">Link</a> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials