登陸頁面樣式佈局
@charset "utf-8"; /* CSS Document */ body{width:100%; margin:0 auto;} #login_bg{margin:0 auto;} #login_main{ width:100%; position:absolute; left:0px; top:100px; height:436px; background:url(../image/01.gif) center no-repeat; text-align:center;} .bg{line-height:45px; text-align:center; font-size:14px; color:#667c0d; font-weight:bold; height:336px;} .input{border:1px solid #667c0d; height:18px; width:145px;}
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>系統登陸</title> <link href="css/login.css" rel="stylesheet" type="text/css" /> <style type="text/css"> html, body { height: 100%; overflow: hidden; } body { padding: 0; margin: 0; } </style> <style type="text/css"> html, body { height: 100%; overflow: hidden; } body { background: url(images/big_bg1.jpg) repeat-x left top; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } body, td, th { font-size: 14px; } .div_lhf { right: 0px; z-index: 0; position: absolute; top: 152px; } .div_yks { width: 547px; height: 466px; left: 0px; position: absolute; top: 152px; z-index: 3; } .div_titile { z-index: 5; position: relative; top: 60px; width: 100%; text-align: center; height: 52px; } .div_bot1 { position: absolute; bottom: -1px; height: 40px; line-height: 40px; width: 100%; text-align: center; z-index: 6; font-weight: bold; color: #1A70BF; background: url(images/bot.png) repeat-x; } .div_bot { position: absolute; bottom: -1px; height: 40px; line-height: 40px; width: 100%; text-align: center; z-index: 6; font-weight: bold; color: #1A70BF; background: url(images/bot.png) repeat-x center; _background-image: none; _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/bot.png",sizingMethod="noscale "); } .div_dlk { position: relative; top: 122px; width: 503px; margin: 0px auto; z-index: 6; } .div_login_bg { position: relative; top: 0px; width: 503px; height: 202px; background: url(images/dl_bg.png); overflow: hidden margin:0px auto; z-index: 7; overflow: hidden; padding-top: 15px; } .div_bd { line-height: 40px; height: 40px; text-align: center; width: 100%; } .div_bd span { font-weight: bold; } .div_an { line-height: 50px; height: 50px; text-align: center; width: 100%; padding-left: 12px; } .div_ts { line-height: 200%; height: 60px; color: #0038AB; padding-left: 10px; font-size: 12px; width: 90%; margin: 5px auto; } .r { color: #F00; height: 60px; float: left; } input { border: #4382C9 1px solid; height: 22px; line-height: 22px; width: 240px; } -- ></style> </head> <body> <form id="form1" runat="server"> <div class="div_titile"> <img src="images/title1.jpg" /></div> <div class="div_dlk"> <div class="div_title"> <img src="images/dl_title.png" width="503" height="65" /></div> <div class="div_login_bg"> <div class="div_bd"> <span>使用者名稱:</span> <input type="text" name="textfield" id="textfield" class="input" runat="server" /></div> <div class="div_bd"> <span>密 碼:</span> <input type="password" name="textfield2" id="textfield2" class="input" runat="server" /></div> <div class="div_an"> <asp:ImageButton ID="ImageButton1" ImageUrl="images/dl.png" runat="server" OnClick="ImageButton1_Click" Width="90" Height="30" /> <img src="images/cz.png" width="90" height="30" /></div> <div class="div_fgx"> <img src="images/fgx.png" width="495" height="1" /></div> <div class="div_ts"> <div class="r"> 系統提示:</div> <span>為了您的賬號安全,請經常修改您的密碼!如果您忘記了該登入密碼,請和系統管理員聯絡!</span></div> </div> </div> <div class="div_yks"> <img src="images/yks1.jpg" width="547" height="555" /></div> <div class="div_lhf"> <img src="images/lhf.jpg" width="725" height="555" /></div> <div class="div_bot"> 技術支援:XXXXX</div> </form> </body> </html>
調整字型間距:
letter-spacing: 10px;
相關文章
- 做一個php登陸頁面,用pc登陸和用手機登陸彈出來的登陸頁面不一樣。PHP
- 頁面佈局
- css頁面佈局CSS
- 常見頁面佈局
- 11款頁面登陸優化工具優化
- 靜態頁面佈局例項
- ExtJs頁面佈局詳解JS
- CSS樣式表——佈局練習(製作360網頁)CSS網頁
- 藍色主題登陸頁面介面模板
- PHP模擬登陸抓取頁面內容PHP
- DotNetNuke開發——自定義登陸頁面
- Bootstrap頁面佈局13 - BS按鈕boot
- CSS入門指南-4:頁面佈局CSS
- 1.9 靜態頁面佈局例項
- 頁面佈局的相關內容
- Dcat Admin 構建頁面佈局
- React Native 頁面佈局簡介React Native
- Zend Framework 入門(4)—頁面佈局Framework
- 20個首頁流行佈局樣式,你喜歡哪個?
- 網站頁面內的內容結構怎樣佈局才合理?網站
- Vue+Element-ui建立一個登陸頁面VueUI
- 登陸註冊頁面html程式碼(仿知乎)HTML
- CSS3(三)佈局樣式CSSS3
- SAP Spartacus Page Layout - 頁面佈局設計
- 實戰電商頁面1:靜態佈局
- Android 頁面多狀態佈局管理Android
- 頁面佈局 layui與 layui的匯入UI
- html頁面實現聖盃佈局flexHTMLFlex
- 快應用入門--頁面佈局篇
- [譯]ASP.NET Core 2.0 佈局頁面ASP.NET
- 頁面佈局自適應之@media screen
- 黃秀傑小程式入門佳品——增刪改查+頁面跳轉+傳值取值+佈局樣式 .
- 改造CAS單點登入 --- 自定義登陸頁面(客戶端)客戶端
- uni-app 頁面樣式APP
- RN中佈局樣式的寫法
- ASP.NET Web Pages – 頁面佈局簡介ASP.NETWeb
- 怎麼恢復spyder預設頁面佈局
- fragment清除頁面資料(重新載入佈局)Fragment