cssday3homework

<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">
  <meta name="Author" content="梁彩霞">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>jd</title>
  <link href="jd.css" rel="stylesheet" type="text/css">
 </head>
 <body>
  <div id="navi">导航链接部分</div>
  <div id="header">
  <img src="Images/jd_logo.png"/>
  <img src="Images/1.png" class="welcome"/>
  </div>
  <div id="tabs">页签部分</div>
  <div id="content">
  <div class="line">
<span class="text"><b>*</b>用户名:</span>
<span class="ipt"><input class="kuang1 user"></span>
<span class="dsp">4-20位字母、数字、汉字及‘-’、‘_’组合</span> 
  </div>
   <div class="line">
<span class="text"><b>*</b>密码:</span>
<span class="ipt"><input class="kuang1 psw" type="password"></span>
<span class="dsp">4-20位字母、数字、汉字及‘-’、‘_’组合</span> 
</div>
   <div class="line">
<span class="text"><b>*</b>请确认密码:</span>
<span class="ipt"><input class="kuang1 psw" type="password"></span>
<span class="dsp">请再次输入密码</span> 
</div>
<div class="line">
<span class="text"><b>*</b>验证手机:</span>
<span class="ipt"><input class="kuang1" type="text"></span>
<span class="dsp">完成验证后,可以使用该手机找回</span> 
</div>
<div class="line">
<span class="text"><b>*</b>短信验证码:</span>  
<span class="ipt"><input class="kuang2" />
                 <input type="button" class="an" value="获得短信验证码"/>
</span>
<span></span> 
</div>
<div class="line">
<span class="text"></span>
<span class="zhuce"><input type="checkbox" id="xy"><label for="xy">我已同意并阅读<a href="#" class="zcxy">&lt;&lt;京东用户注册协议&gt;&gt;</label></a></span>
<span></span> 
</div>
<div class="line">
 <span class="text"></span>
      <span class="liji"><a href="#" ><img  src="Images/regist_btn.jpg"></a></span>
 <span></span> 
</div>
  </div>
  <div id="footer">页脚部分</div>
 </body>

</html>








body{
font-size:12px;
color:#333;
background-color:#f2f2f2;
font-family:Arial,sans-serif;
}
*{
margin:0;
padding:0;
list-style:none;
}
#navi{
width:100%;
height:30px;
border-bottom:1px solid #eee;
background-color:#FAFAFA;
line-height:30px;
}
#tabs,#header,#content,#footer{
width:990px;
margin:0 auto;
}
#tabs{
height:33px;
line-height:33px;
}
#header{
padding:10px 0px;
}
.welcome{
border-left:1px solid #ddd;
}
#content{
padding-top:30px;
padding-bottom:20px;
border:1px solid #ddd;
border-top:none;
background:url(Images/reg_phone.jpg) no-repeat 770px 40px #fff;
height:450px;
}
.line{
width:750px;
height:60px;
padding-top:9px;
}
.line span{
  float:left;
  height:34px;
  line-height:34px;
}
span.text{
width:190px;
text-align:right;
font-size:14px;
color:#999;
padding-right:10px;
}
.text b{
color:red;
margin-right:3px;
}
.kuang1{
width:238px;
height:16px;
color:#999;
padding:10px 25px 10px 5px;
border:1px solid #ccc;
background-position:248px center;
background-repeat:no-repeat;
}
.kuang1:focus{
border-color:#7abd54;
outline:none;
}
input.user{
background-image:url(Images/3.png);
}
.dsp{
background-color:#f7f7f7;
border:1px solid #ddd;
width:238px;
line-height:34px;
padding:1px 5px;
margin-left:5px;
}
.psw{
background-image:url(Images/4.png);
}
.kuang2{
width:116px;
height:16px;
color:#999;
padding:10px 25px 10px 5px;
border:1px solid #ccc;
background-position:248px center;
background-repeat:no-repeat;
}
.an{
    width:116px;
height:34px;
background-color:#f7f7f7;
border:1px solid #ddd;
}
.zhuce{
line-height:34px;
padding:10px 5px;
}
.zcxy{
      text:#005aa0;
 margin-left:5px;
 text-decoration:none;
}
span a:hover{
text-decoration:underline;
}
.liji{
border:none;
width:270px;
height:36px;
}
.liji:hover{
background-image:url(Images/regist_btn_hove.jpg)
}

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值