<asp:table runat="server" ID="mainTable" Width="100%" Height="100%" BorderColor="Red" BorderWidth="20px" BorderStyle="Solid">
<asp:TableRow runat="server" ID="mainRow" Width="100%" Height="100%" BorderColor="Purple" BorderWidth="20px" BorderStyle="Solid">
<asp:TableCell runat="server" ID="maincell" Width="100%" Height="100%" BorderColor="AliceBlue" BorderWidth="20px" BorderStyle="Solid">
<asp:Panel runat="server" ID="mainpanel" Width="100px" Height="100px" BackColor="Gainsboro"></asp:Panel>
</asp:TableCell>
</asp:TableRow>
</asp:table>
爲什麼表格沒有顯示? 我只能看到一個紅色的框架,裏面有一個藍色框架,裏面是灰色面板,紅色桌子和藍色單元格之間的紫色框架(表格行)在哪裏?asp:tableRow沒有在瀏覽器上顯示(IE9 - asp.NET)
我剛剛嘗試過相同的代碼,它在ie 7,8和9中工作正常 –