Trying to center price List in page - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Trying to center price List in page

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">
.pricing-table {<!--   w  w w.j  a  v a 2 s .  c  om-->
   disply:block;
   margin-right:auto;
   margin-left:auto;
   border:2px solid Chartreuse;
   width:201px;
}
</style> 
 </head> 
 <body> 
  <div id="pricing-table" class="pricing-table"> 
   <ul> 
    <li class="heading">Lorem </li> 
    <li class="price">Lor</li> 
    <li>Lorem ipsum dol</li> 
    <li>Lorem ipsum</li> 
    <li class="action"> <a href="">Lorem i</a> </li> 
   </ul> 
   <ul class="feature"> 
    <li class="heading">Lorem </li> 
    <li class="price">Lor</li> 
    <li>Lorem ipsum dolor si</li> 
    <li>Lorem ipsum</li> 
    <li class="action"> <a href="">Lorem i</a> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials