piffy

HTML Table width

Jan 2nd, 2021
644
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <table>
  2.     <tr>
  3.         <td style="background-color: pink">auto</td>
  4.         <td>auto</td>
  5.         <td>auto</td>
  6.         <td>auto</td>
  7.         <td>auto</td>
  8.     </tr>
  9.     <tr>
  10.         <td>auto</td>
  11.         <td style="width: 75px;background-color: pink">75px</td>
  12.         <td style="width: 75px;">75px</td>
  13.         <td style="width: 75px;">75px</td>
  14.         <td style="width: 75px;">75px</td>
  15.     </tr>
  16.     <tr>
  17.         <td>auto</td>
  18.         <td>auto</td>
  19.         <td style="width: 150px;background-color: pink">150px</td>
  20.         <td style="width: 150px;">150px</td>
  21.         <td style="width: 150px;">150px</td>
  22.     </tr>
  23.     <tr>
  24.         <td>auto</td>
  25.         <td>auto</td>
  26.         <td>auto</td>
  27.         <td style="width: 10%;background-color: pink">10%</td>
  28.         <td style="width: 10%;">10%</td>
  29.     </tr>
  30.     <tr>
  31.         <td>auto</td>
  32.         <td>auto</td>
  33.         <td>auto</td>
  34.         <td>auto</td>
  35.         <td style="width: 50%;background-color: pink">50%</td>
  36.     </tr>
  37. </table>
RAW Paste Data