温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

网站登录界面(div+css实现)

发布时间:2020-06-28 14:45:21 来源:网络 阅读:2349 作者:Bighead0829 栏目:web开发

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>叮咚网登录</title>
<style type="text/css">
.main{
width:100%;
height:920px;
border:1px solid #000;
text-decoration: none;
}
.top{
width:100%;
height:52px;
border:1px solid #000;
}
.downMenu{
width:100%;
height:30px;
font:normal normal 20px "宋体";
color:#fff;
background-color: #000000;
}
#search{
margin-left:520px;
}
a{
text-decoration: none;
}
#img1{
margin-left:330px;
}
#logo{
font:normal normal 20px "宋体";
padding-bottom: 5px;
}
#d{
padding-bottom:30px;
margin-left:290px;
}
a:link{
font-size: 20px;
color:aquamarine;
}
a:visited{
color:darkgray;
}
a:hover{
color:#FFFFFF;
}
a:active{
color:cadetblue;
}
.bottom{
text-align: center;
}
#img5{
width:100%;
height:80px;
}
#dengL{
width:100%;
height:600px;
background:#000000 url(img/loginbg.jpg) no-repeat top center;
background-size:1400px 700px;
padding-top:100px;

        }
        #dengLu{
            border:1px solid #5F9EA0;
            width:400px;
            height:300px;
            background-color:#fffff;
            margin-left:800px;
            /*margin-top:100px;*/
            background-color:#FFFFFF;
            font:normal normal "黑体";
            padding-top:10px;
            padding-left:20px;
        }
        .uersname{
            padding-left:100px;
            padding-top: 50px;
            padding-bottom: 10px;
        }
        .password{
            padding-left:100px;
        }
        .verify{
            padding-left:100px;
            padding-bottom:10px;
        }
        .login{
            padding-left:100px;
        }
    </style>

</head>
<body>
    <div class="main">
        <div class="top">
            <div id="logo">
                <img src="img/logo.gif" title="叮咚网logo" alt="logo"></img>    
                <img src="img/header.png" title="img1"   alt="img1" id="img1"></img>    
                <a href="登录.html" target="_blank" id="d"><font color="darkcyan">登录</font></a>&nbsp;&nbsp;
                <a href="注册.html" target="_blank"><font color="darkcyan">注册</font></a>&nbsp;&nbsp;
                <a href="购物车.html" target="_blank"><font color="darkcyan">购物车</font></a>
            </div>
        </div>
        <div class="downMenu">
                <a href="#" target="_blank">首页</a>&nbsp;&nbsp;
                <a href="#" target="_blank">手机数码</a>&nbsp;&nbsp;
                <a href="#" target="_blank">电脑办公</a>&nbsp;&nbsp;
                <a href="#" target="_blank">学习用品</a>&nbsp;&nbsp;
                <a href="#" target="_blank">家具电器</a>
                <input  id="search" type="text" name="search" value="search">
                <input type="submit" name="submit" value="submit">
        </div>
        <div id="dengL">
          <div id="dengLu">
            <font color="darkgray" size="5px">会员登录&nbsp;&nbsp;USER&nbsp;LOGIN</font>
            <div class="uersname">
                用户:<input type="text" name="username">
            </div>
            <div class="password">
                密码:<input type="password" name="password">
            </div>
            <div class="verify">
                验证码:<input type="text" name="verify">&nbsp;&nbsp;<img src="img/captcha.jhtml.jpg">              </div>
            <div class="login">
                <input type="checkbox" name="zddl" value="自动登录">自动登录&nbsp;&nbsp;&nbsp;
                <input type="checkbox" name="wjmm" value="忘记密码">忘记密码<br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="submit" name="submit" value="提交">
            </div>
          </div>
        </div>

        <div class="img5">
            <img src="img/footer.jpg" id="img5">
        </div>
        <div class="bottom">
            <a href="#" target="_blank"><font color="dodgerblue" size="3px"> 关于我们</font></a>&nbsp;&nbsp;&nbsp;
            <a href="#" target="_blank"><font color="dodgerblue" size="3px">联系我们</font></a>&nbsp;&nbsp;&nbsp;
            <a href="#" target="_blank"><font color="dodgerblue" size="3px">招贤纳士</font></a>&nbsp;&nbsp;&nbsp;
            <a href="#" target="_blank"><font color="dodgerblue" size="3px">法律声明</font></a>&nbsp;&nbsp;&nbsp;
            <a href="#" target="_blank"><font color="dodgerblue" size="3px">友情链接</font></a>&nbsp;&nbsp;&nbsp;
            <a href="#" target="_blank"><font color="dodgerblue" size="3px">支付方式</font></a>&nbsp;&nbsp;&nbsp;
            <a href="#" target="_blank"><font color="dodgerblue" size="3px">配送方式</font></a>&nbsp;&nbsp;&nbsp;
            <a href="#" target="_blank"><font color="dodgerblue" size="3px">服务声明</font></a>&nbsp;&nbsp;&nbsp;
            <a href="#" target="_blank"><font color="dodgerblue" size="3px">广告声明</font></a>
        </div>
        <div class="bottom">
            <font size="2px">Copyright&copy;2015-2016西部开源&nbsp;版权所有</font>
        </div>
    </div>
</body>

</html>

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI