c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
HTML

Html Table with equal size columns -HTML Example

| | Css , Html

If you are dynamically creating an HTML table with number of table columns at runtime with equal sizes.

You have to do like this,


 

<style type="text/css">
   .table {
       width:100%;
   }
   .table td {
       width:1000px;
   }
</style>
  <table class="table">
                <tr>
                    <td>one</td>
                    <td>two</td>
                    <td>three</td>
                    <td>four</td>
                    <td> five</td>
                    <td> six </td>
                 </tr>
           </table>