Answers for "how to make table inside td take full height"

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
0

full height div inside td

<table border="1" style="height:300px; width: 100px;">
 <tr><td>cell1</td><td>cell2</td></tr>
 <tr>
   <td style="height: 1px"> <!-- or 100% -->
     <div style="height: 100%; width: 100%; background-color:pink;"></div>
   </td>
   <td>long text long text long text long text long text long text</td>
 </tr>
</table>
Posted by: Guest on July-12-2021

Code answers related to "how to make table inside td take full height"

Browse Popular Code Answers by Language