Display inline in ul tag - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Horizontal

Description

Display inline in ul tag

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">
li {<!--   w  w  w  .  jav  a 2 s .c om-->
   display:inline;
}
</style> 
 </head> 
 <body> 
  <div class="links1"> 
   <ul style="float:left; position:absolute; top:115px; right:200px; display:inline;"> 
    <li> <a href="#">Lorem ipsum dolor </a> </li> 
    <li> <a href="#">Lorem ipsum d</a> </li> 
    <li> <a href="#">Lorem ipsum do</a> </li> 
    <li> <a href="#">Lorem ip</a> </li> 
    <li> <a href="#">Lorem ipsu</a> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials