UL LI Columns in a single line - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Column

Description

UL LI Columns in a single 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">

.inline-list li {
   display: inline-block;
   height: 20px;
   width: 20px;
}


      </style> 
 </head> <!--from  w w w  .  j a v  a  2s  .c  om-->
 <body> 
  <ul class="inline-list"> 
   <li>1</li> 
   <li>2</li> 
   <li>3</li> 
  </ul>  
 </body>
</html>

Related Tutorials