Automatically continue an ordered list - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Automatically continue an ordered list

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">
p {<!--from www.  j a  v  a  2  s .  c  o  m-->
   padding-right:41px;
}

.indent-p {
   margin-left:-41px;
}
</style> 
 </head> 
 <body> 
  <p>Lorem ipsum dolor s</p> 
  <ol class="begin"> 
   <li>Lorem </li> 
   <li>Lorem ip<p class="indent-p">Lorem ipsum dolor sit amet, consectetur adipis</p> </li> 
   <li>Lorem </li> 
   <li>Lorem </li> 
   <li>Lorem </li> 
  </ol>  
 </body>
</html>

Related Tutorials