div+css登陸介面案例

來源:互聯網
上載者:User

標籤:des   style   blog   color   os   io   for   art   

<!DOCTYPE html><html lang="en"><head>    <style type="text/css">        body{            margin:0px;            padding:0px;            font-size: 12px;            background-color:#016AA9;            overflow: hidden;            text-align:center;        }        #container{            width:980px;        }        #login{            padding-top: 1px;            
background-image: url(images/login.gif); width:846px; height: 418px; margin-top: 120px; margin-left: 150px; } #form{ margin-top: 175px; margin-left: -10px; } #input div{ margin-bottom: 12px; } #input div input{ width:150px; height: 18px; background-color: #292929; border:0px; color:#6CD0ff; } #btn input{ border: 0px; background-image: url(images/dl.gif); width: 49px; height: 20px; color: #FFFFFF; margin-left: 8px; cursor: pointer; } #btn{ margin-left: 25px; margin-top: 8px; } </style></head><body> <div id="container"> <div id="login"> <div id="form"> <form> <div id="input"> <div>使用者:<input type="text" name="username" /></div> <div>密碼:<input type="password" name="password"></div> </div> <div id="btn"> <input type="submit" value="登陸" /> <input type="button" value="註冊" onclick="window.location.href=‘/regeiter.html‘" /> </div> </form> </div> </div> </div>
</body></html>

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.