move some text down in a li tag - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

move some text down in a li 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">
#mylist ul {<!--from   w  w  w.  jav  a  2 s.c om-->
   position:absolute;
   float:left;
   list-style-type:none;
   margin:0px;
   padding:0px;
}

#mylist li {
   float:left;
   list-style-type:none;
   margin:0px;
   padding:11px 0 0 0;
   width:81px;
   height:81px;
   border:2px solid Chartreuse;
}
</style> 
 </head> 
 <body> 
  <ul id="mylist"> 
   <li>Lorem</li> 
   <li>Lorem </li> 
   <li>Lore</li> 
  </ul>  
 </body>
</html>

Related Tutorials