日期:2014-05-20  浏览次数:20554 次

htmltable.width的问题??
protected   void   Page_Load(object   sender,   EventArgs   e)
        {
      table1.Width   =   "100 ";
                table2.Width   =   (verygoodlen*100).ToString();
                table3.Width   =   (goodlen   *   100).ToString();
                table4.Width   =   (nomallen   *   100).ToString();
                table5.Width   =   (badlen   *   100).ToString();
}
怎么设都没用呢?HTMLtalbe的宽度还是老样子,没有改变.

------解决方案--------------------
呵呵,看到“style= "width: 0px;”你就会反过来知道怎么查源代码,这就是调试的威力。