Answers for "how to set width of table column in html with respect to device size"

5

html table column 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

Code answers related to "how to set width of table column in html with respect to device size"

Browse Popular Code Answers by Language