我怎样才能更广泛?

时间:2013-06-10 16:01:59

标签: css

enter image description here

CSS部分负责此

thead td.info{
        padding: 0px;
        color: #555;
        font-size: 8pt;
        font-weight: normal;
    }

我尝试添加宽度:(n)px

1 个答案:

答案 0 :(得分:2)

使用colspan

请参阅: JSFiddle

<强> HTML:

<table border="1">
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>$100</td>
  </tr>
  <tr>
    <td>February</td>
    <td>$100</td>
  </tr>
  <tr>
    <td colspan="2">Sum: $180</td>
  </tr>
</table>