Answers for "Setting table column width"

0

data table column width

$('#example').dataTable({
  "columnDefs": [    
    { "width": "20%", "targets": 0 }  
  ]} 
);
Posted by: Guest on June-01-2021
-2

html table set column width

<table style="width: 100%">
    <tbody>
        <tr>
            <td style="background-color: #777">15%</td>
            <td style="background-color: #aaa">70%</td>
            <td style="background-color: #777">15%</td>
        </tr>
    </tbody>
</table>
Posted by: Guest on July-18-2021

Browse Popular Code Answers by Language