【web】上机实验六

实现这个


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
#frame {
position: relative;
width:400px;
height:300px;
margin: auto;
background-color:#FFF
}
#apDiv1 {
position: relative;
width:400px;
height:50px;
margin: auto;
background-color:#666
}
#apDiv2frame {
position: relative;
width:400px;
height:160px;
margin: auto;
}
#apDiv2left {
position: relative;
width:200px;
height:160px;
float:left;
background-color: #6cf
}
#apDiv2right {
position: relative;
width:200px;
height:160px;
float: right;
background-color: #0F0
}

#apDiv4 {
position: relative;
width:400px;
height:50px;
margin: auto;
background-color:#666
}
</style>
</head>

<body style="font:12px Arial, Helvetica, sans-serif; text-align:center;">
<div id="frame">

<div id="apDiv1">顶部(head)</div>
<div id="apDiv2frame">
<div id="apDiv2left">登录(login)</div>
<div id="apDiv2right">登录说明(login_right)</div>
</div>
<div id="apDiv4">底部(footer)</div>

</div>
</body>
</html>

还有这个

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
#frame {
position: relative;
width:1000px;
height:96px;
margin: auto;
background-color:#FFF
}
#LOGO {
position: relative;
width:280px;
height:96px;
float:left;
background-color:#666
}
#menu {
position: relative;
width:580px;
height:39px;
float:right;
background-color: #666
}
#hello{
position: relative;
width:580px;
height:33px;
float:right;
background-color: #0f0
}
#nav {
position: relative;
width:1000px;
height:34px;
background-color: #6cf
}
</style>
</head>

<body style="font:12px Arial, Helvetica, sans-serif; text-align:center;">
<div id="frame">

<div id="frame">
<div id="LOGO">LOGO</div>
<div id="menu">顶部菜单</div>
<div id="hello">你好,贵美商城欢迎您!</div>
</div>
<div id="nav">导航条</div>

</div>
</body>
</html>


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值