【发布时间】:2015-07-09 14:41:05
【问题描述】:
我已经阅读了许多关于重叠 div 的场景,但没有一个适合我。这是我当前的用户界面:
这是我的部分 aspx 代码:
<table style="width:100%;">
<tr style="width:100%;">
<td style="width:33.33%; vertical-align:top;"><uc1:statform runat="server" ERBedNumber="Bed1" TempHospNum="ER101" id="statform1" /></td>
<td style="width:33.33%; vertical-align:top;"><uc1:statform runat="server" ERBedNumber="Bed2" TempHospNum="ER102" id="statform2" /></td>
<td style="width:33.33%; vertical-align:top;"><uc1:statform runat="server" ERBedNumber="Bed3" TempHospNum="ER103" id="statform3" /></td>
</tr>
</table>
<table style="width:100%;">
<tr style="width:100%;">
<td style="width:33.33%; vertical-align:top;"><uc1:statform runat="server" ERBedNumber="Bed4" TempHospNum="ER104" id="statform4" /></td>
<td style="width:33.33%; vertical-align:top;"><uc1:statform runat="server" ERBedNumber="Bed5" TempHospNum="ER105" id="statform5" /></td>
<td style="width:33.33%; vertical-align:top;"><uc1:statform runat="server" ERBedNumber="Bed6" TempHospNum="ER106" id="statform6" /></td>
</tr>
</table>
<table style="width:100%;">
<tr style="width:100%;">
<td style="width:33.33%; vertical-align:top; "><uc1:statform runat="server" ERBedNumber="Bed7" TempHospNum="ER107" id="statform7" /></td>
<td style="width:33.33%; vertical-align:top; "><uc1:statform runat="server" ERBedNumber="Bed8" TempHospNum="ER108" id="statform8" /></td>
<td style="width:33.33%; vertical-align:top; "><uc1:statform runat="server" ERBedNumber="Bed9" TempHospNum="ER109" id="statform9" /></td>
</tr>
</table>
<table style="width:100%;">
<tr style="width:100%;">
<td style="width:33.33%; vertical-align:top; "><uc1:statform runat="server" ERBedNumber="Bed10" TempHospNum="ER110" id="statform10" /></td>
<td style="width:33.33%; vertical-align:top; "><uc1:statform runat="server" ERBedNumber="Bed11" TempHospNum="ER111" id="statform11" /></td>
<td style="width:33.33%; vertical-align:top; "><uc1:statform runat="server" ERBedNumber="Bed12" TempHospNum="ER112" id="statform12" /></td>
</tr>
</table>
</asp:Panel>
但是当用户控件展开时(当我单击关闭/注册患者按钮时),它将如下所示:
这是我不喜欢发生的。我想将它重叠在其他用户控件上并如下所示:
我还想将它应用于所有的床,而不仅仅是床 1。
【问题讨论】:
标签: html css asp.net vb.net user-controls