UL next to each other inside a div - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL

Description

UL next to each other inside a div

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">
#menu ul {
   list-style-type:none;
}

#menu li {
   display:inline;
}
</style> <!--from   w ww  .j  a  v a 2s .  co  m-->
 </head> 
 <body> 
  <div id="menu"> 
   <ul> 
    <li>Lorem</li> 
    <li>Lorem</li> 
    <li>Lorem</li> 
    <li>Lorem</li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials