網站登入介面(div+css實現)

kboypkb發表於2021-09-09

<!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 class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="img/logo.gif" title="叮咚網logo" alt="logo"></img>                    <img class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="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 class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="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 class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="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>

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/1916/viewspace-2817121/,如需轉載,請註明出處,否則將追究法律責任。

相關文章