Create rounded corners on table - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table

Description

Create rounded corners on table

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <style type="text/css">
.rounded_edges {<!--from w w  w  . j  a v a2s . c  o  m-->
   -moz-border-radius:16px;
   border-radius:16px;
   border:2px solid Chartreuse;
}
</style> 
 </head> 
 <body> 
  <table class="rounded_edges"> 
   <tbody> 
    <tr> 
     <th>Lorem </th> 
     <th>Lorem </th> 
     <th>Lorem </th> 
    </tr> 
    <tr> 
     <td>Lorem ip</td> 
     <td>Lorem ip</td> 
     <td>Lorem ip</td> 
    </tr> 
    <tr> 
     <td>Lorem ip</td> 
     <td>Lorem ip</td> 
     <td>Lorem ip</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials