<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.outer{
border-style:solid;
width:370px;
height:200px;
margin-top:250px;
margin-left:500px;
background-image:url(a.jpg);
background-repeat:no-repeat;
background-position:center;
}
.userName{
margin-top:60px;
margin-left:80px;
}
.password{
margin-top:20px;
margin-left:80px;
}
#button{
margin-left:150px;
margin-top:10px;
}
#button2{
margin-top:0px;
margin-left:50px;
}
input{
border-color:#000;
border-width:3px;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>無標題文檔</title>
</head>
<body>
<div class="outer">
<div class="userName">
用戶名 <input type="text" />
</div>
<div class="password">
密 碼 <input type="password" />
</div>
<input id="button" type="submit" value="登錄"/>
<input id="button2" type="submit" value="註冊" />
</div>
</body>
</html>
盒子模型作業(仿QQ登錄界面)
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.