2011-11-7

今天的事就不说了,说说这两天的收获吧
我在向老师询问原理后,独立完成了一个母板页的设计,下面把我的代码和样式表发上来喽
样式表
.zhengti
{
    padding:0px; margin:0px auto; width:945px; height:auto;
}
.tou
{
    width: 945px;
    height:125px;
}
.jing
{
    width:auto; height:60px; background-color:Red;
}
.zhong
{
    width:945px; height:500px;
}
.left
{
    float:left; height:500px; width:245px; background-color:#e5e5e5; text-align:center;
}
.right
{
    float:left; height:500px; width:700px;
}
.dibu
{
     width: 945px; height: 50px; background-color: #0978af; text-align: center; font-size: x-large; margin-top:auto;
}
.left ul
{
   list-style:none; height:122px; width:100px; 
}
.left li
{
   height:25px; width: 97px; margin:5px;
}
.left a
{
   display:block; width:99px; height:23px; color:White; text-decoration:none; background-color:#5aa815
}
代码
<head runat="server">
    <title></title>
    <asp:ContentPlaceHolder id="head" runat="server">
    </asp:ContentPlaceHolder>
    <link href="Styles/muban.css" rel="stylesheet" type="text/css" />
</head>
<body >
    <form id="form1" runat="server">
    <div class="zhengti">
    <div class="tou">
        <img alt="" src="Images/1.jpg" style="width: 945px; height: 125px;" />
    </div>
    <div class="jing"></div>
    <div class="zhong">
    <div class="left">
    <ul>
    <li><a href=#>学生管理</a></li>
    <li><a href=#>管理员管理</a></li>
    <li><a href=#>密码修改</a></li>
    <li><a href=#>系统注销</a></li>
    </ul>
    </div>
    <div class="right">
        <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
        </asp:ContentPlaceHolder>
    </div>
    </div>
    <div class="dibu">
    <ul><li style=" margin-top:10px"><strong>@ 版权所有:任丘市政府教育办公室</strong></li></ul>
    </div>
    </div>
    </form>
</body>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值