Answers for "html table width adjust to cell width"

2

html table cell full width

<tr>
  <td colspan="5">This text should be as long as the entire table's width...</td>
</tr>
Posted by: Guest on May-20-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