Answers for "set table width based on td"

5

html table td width

<tr>
    <td style="width:70%">January</td>
    <td style="width:30%">$100</td>
</tr>
Posted by: Guest on September-05-2021
1

give table width 100%

<table style = "width:100%">
          <tr>
              <th>A</th>
              <th>B</th>
              <th>C</th>
          </tr>
          <tr>
          	<tb>a</tb>
          	<tb>b</tb>
          	<tb>c</tb>
          </tr>
      </table>
Posted by: Guest on July-09-2021

Browse Popular Code Answers by Language