Multilevel ul list positioning - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Multilevel ul list positioning

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">
ul#footermenu>li
 {
   display:inline-block;
   vertical-align:top;
}
</style> <!--from www  .j av a  2s  . c om-->
 </head> 
 <body> 
  <ul id="footermenu"> 
   <li class="firstfootermenu">Lorem ipsum 
    <ul class="subfootermenu"> 
     <li>Lorem ipsum d 
      <ul class="subsubfootermenu"> 
       <li>Lorem ipsu</li> 
       <li>Lorem ipsu</li> 
       <li>Lorem ipsu</li> 
      </ul> </li> 
    </ul> </li> 
   <li class="secondfootermenu"> <a href="#">Lorem ipsu</a> </li> 
   <li class="secondfootermenu"> <a href="#">Lorem ipsu</a> </li> 
  </ul>  
 </body>
</html>

Related Tutorials