http://fason.nease.net/有个表格的例子

解决方案 »

  1.   

    好像只能修改内容,表格的属性(如上就是width)却不能修改,为什么
      

  2.   

    可以.  <table border="1" width="358" height="62">
        <tr>
          <td id="td1" width="96" height="62">a</td>
          <td width="110" height="62">b</td>
          <td width="130" height="62">c</td>
        </tr>
      </table>
    <input type=button onclick="td1.width='100'" value="Test">