我想使整个table相对pan2做居中,代码如下<asp:Panel id="Pan" style="LEFT: 208px; POSITION: absolute; TOP: 8px" runat="server" BackColor="WhiteSmoke" Width="560px">
<asp:Panel id="Pan1" runat="server">...</asp:Panel>
<asp:Panel id="Pan2" runat="server">
<asp:Table id="Tab_Class" style="MARGIN: auto" runat="server" Width="520" GridLines="Horizontal" CellPadding="0" CellSpacing="0">
</asp:Table>
</asp:Panel>
</asp:Panel>结果不起作用,问题在哪里呢?
<asp:Panel id="Pan1" runat="server">...</asp:Panel>
<asp:Panel id="Pan2" runat="server">
<asp:Table id="Tab_Class" style="MARGIN: auto" runat="server" Width="520" GridLines="Horizontal" CellPadding="0" CellSpacing="0">
</asp:Table>
</asp:Panel>
</asp:Panel>结果不起作用,问题在哪里呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货