Answers for "how to set the height of table data in css"

0

fix table height html

<div id="mainHolder" style="overflow: auto; max-height: 400px;">
    <table>
    ... Lots of data ...
    </table>
</div>
Posted by: Guest on March-18-2021
0

how to set table data width in css

<table>
  <tr>
    <th>header 1</th>
    <th>header 234567895678657</th>
  </tr>
  <tr>
    <td>data asdfasdfddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddasdfasdfasdf</td>
    <td>data 2</td>
  </tr>
</table>
Posted by: Guest on August-18-2021

Code answers related to "how to set the height of table data in css"

Browse Popular Code Answers by Language