Css display:inline on <li> element - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Horizontal

Description

Css display:inline on <li> element

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-dots {<!-- www  .j av a2 s .  c om-->
   display:inline;
}

li {
   list-style-type:none;
   display:inherit;
}
</style> 
 </head> 
 <body> 
  <div class="nav"> 
   <ul class="nav-dots"> 
    <li class="ni n1"> <a href="#" class="nia">Lor</a> </li> 
    <li class="ni n2"> <a href="#" class="nia">Lor</a> </li> 
    <li class="ni n3"> <a href="#" class="nia">Lor</a> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials