87,914
社区成员
发帖
与我相关
我的任务
分享
<head>
<style type="text/css">
#head{
height:130px;
width:1000px;
margin-top:20px;
padding:15px;
background-color:#eeeeee;
border:solid 1px #c3c3c3
}
#login{
height:50px;
width:1000px;
padding:15px;
background-color:#eeeeee;
border:solid 1px #c3c3c3
}
#left{
height:600px;
width:250px;
padding:15px;
margin-left:163px;
background-color:#eeeeee;
border:solid 1px #c3c3c3
}
#right{
height:600px;
width:750px;
padding:10px;
margin-top:-600px;
margin-left:413px;
background-color:#eeeeee;
border:solid 1px #c3c3c3
}
#footer{
height:130px;
width:1000px;
padding:15px;
background-color:#eeeeee;
border:solid 1px #c3c3c3
}
</style>
</head>
<body>
<form name="form2" method="post" action ="login_check.php">
<center>
<div id="head">这里是head部分</div>
</center>
<center>
<div id="login">
<div id="login1">
用户名:<input type="text" id="user" name="user"/>
密码:<input type="password" id="pass" name="pass"/>
<input type="submit" id="abv" value="登录"/>
</div>
</div>
</center>
<div id="left">
</div>
<div id="right">
</div>
</body>
<center>
<div id="footer">
footer
</div>
<center>
</form>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>00000</title>
<style type="text/css">
body{text-align: center;}
#out_div{ width:1000px; margin:0 auto;}
#head{
height:130px;
margin-top:20px;
padding:15px;
}
#head,#login,#left,#right,#footer{
background-color:#eeeeee;
border:solid 1px #c3c3c3
}
#login{
height:50px;
padding:15px;
}
#left{
height:600px;
float: left;
width:250px;
}
#right{
height:600px;
float: right;
width:740px;
}
#footer{
height:130px;clear: both;
margin-top:15px
}
</style>
</head>
<body>
<div id="out_div">
<div id="head">这里是head部分</div>
<div id="login">
<form name="form2" method="post" action="login_check.php">
用户名:<input type="text" id="user" name="user"/>
密码:<input type="password" id="pass" name="pass"/>
<input type="submit" id="abv" value="登录"/>
</form>
</div>
<div id="left"> </div>
<div id="right"> </div>
<div id="footer"> footer </div>
</div>
</body>
</html>