初學母版,望高手指教!頁面代碼如下:
<head runat="server">
<title></title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
<style type="text/css">
.style1
{
width: 100%;
height: 561px;
}
.style2
{
height: 81px;
width: 989px;
}
.style3
{
height: 48px;
width: 989px;
}
.style4
{
height: 328px;
width: 989px;
}
.style5
{
width: 100%;
height: 328px;
}
.style6
{
width: 152px;
}
.style7
{
width: 989px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<table class="style1">
<tr>
<td class="style2">
<asp:Image ID="Image1" runat="server" Height="132px"
ImageUrl="~/images/logo.jpg" Width="992px" />
</td>
</tr>
<tr>
<td class="style3">
<asp:Image ID="Image2" runat="server" Height="52px" ImageUrl="~/images/dh.jpg"
Width="992px" />
</td>
</tr>
<tr>
<td class="style4">
<table class="style5">
<tr>
<td class="style6">
<div style="height: 322px; width: 149px; background-color:Gray; text-align: center;">
<asp:Button ID="Button1" runat="server" BackColor="#0066FF" ForeColor="White"
Height="26px" Text="考生管理" Width="99px" Xοnclick="Button1_Click" />
<br />
<asp:Button ID="Button2" runat="server" BackColor="#0066FF" ForeColor="White"
Height="26px" Text="管理員管理" Width="99px" Xοnclick="Button2_Click" />
<asp:Button ID="Button3" runat="server" BackColor="#0066FF" ForeColor="White"
Height="26px" Text="密碼修改" Width="99px" />
<asp:Button ID="Button4" runat="server" BackColor="#0066FF" ForeColor="White"
Height="26px" Text="系統註銷" Width="99px" />
</div>
</td>
<td>
<div style="height: 312px">
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="style7">
<asp:Image ID="Image3" runat="server" Height="44px" ImageUrl="~/images/bq.jpg"
Width="992px" />
</td>
</tr>
</table>
</div>
</form>
</body>