Force Navigation Bar To Stay On Line - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Nav Bar

Description

Force Navigation Bar To Stay On Line

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">
.column {<!--  w ww . j a v a2 s  . c o m-->
   float:left;
}

.one-third {
   width:34.34%;
}

#managers-row {
   width:501px;
   text-align:center;
}

.screamer,
.kinzu,
.swezii {
   display:inline-block;
   width:61px;
   height:61px;
   border-radius:51%;
   background-color:Chartreuse;
   background-size:100%;
}

.screamer {
   background-image:url('https://www.java2s.com/style/demo/Google-Chrome.png');
}

.kinzu {
   background-image:url('https://www.java2s.com/style/demo/Google-Chrome.png');
}

.swezii {
   background-image:url('https://www.java2s.com/style/demo/Google-Chrome.png');
}
</style> 
 </head> 
 <body> 
  <div class="container"> 
   <div class="row" id="managers-row"> 
    <h4 id="managers-head">Lorem ipsum </h4> 
    <div class="column one-third"> 
     <div class="screamer"></div> 
    </div> 
    <div class="column one-third"> 
     <div class="kinzu"></div> 
    </div> 
    <div class="column one-third"> 
     <div class="swezii"></div> 
    </div> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials