Kevin Powell - CommunityKP-C
Kevin Powell - Communityโ€ข8mo agoโ€ข
12 replies
noob

How to make a td element fit content?

Hi guys, I have a table with 2 columns, the first column I want the width fit content, and the second one take the rest width. How can I archive this?
  <table>
    <tr>
      <td>Fit content</td>
      <td>Full width/td>
    </tr>
  </table>
Was this page helpful?