l********t 发帖数: 115 | 1 Table1.Rows[0].Cells[i].BorderColor=System.Drawing.Color.FromArgb(210,201,171)
;
Table1.Rows[0].Cells[i].BorderWidth=1;
firefox doesn't support the above code? it works fine with IE. | o***e 发帖数: 30 | 2 ASP.NET generate MS specific HTML? LOL.
【在 l********t 的大作中提到】 : Table1.Rows[0].Cells[i].BorderColor=System.Drawing.Color.FromArgb(210,201,171) : ; : Table1.Rows[0].Cells[i].BorderWidth=1; : firefox doesn't support the above code? it works fine with IE.
| c***r 发帖数: 4631 | 3 You may be able to access the cells via W3C code like
table.rows[ i ].childNodes[ j ]
But be careful of #text nodes.
【在 l********t 的大作中提到】 : Table1.Rows[0].Cells[i].BorderColor=System.Drawing.Color.FromArgb(210,201,171) : ; : Table1.Rows[0].Cells[i].BorderWidth=1; : firefox doesn't support the above code? it works fine with IE.
|
|