Fixed-width table with variable-width columns with UL - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Column

Description

Fixed-width table with variable-width columns with UL

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">
ul {<!-- ww  w  .  j  a  v a2  s  .com-->
   display:flex;
   justify-content:space-between;
   margin:0;
   padding:0;
   list-style-type:none;
   width:601px;
   border:2px solid Chartreuse;
}

li {
   list-style:none;
   text-align:center;
   border:2px solid yellow;
}
</style> 
 </head> 
 <body> 
  <ul> 
   <li>Lorem ipsum </li> 
   <li>Lorem i</li> 
   <li>Lore</li> 
  </ul>  
 </body>
</html>

Related Tutorials