亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

PHP développe une page de connexion simple pour l'administrateur du système de gestion de l'arrière-plan du livre

Cette section implémentera une page de connexion

1620.png

Créez un formulaire <form> pour implémenter la page de connexion, comme le montre la figure, qui est une page de connexion composée d'un tas de petites ic?nes. Les amis intéressés peuvent créer de petites ic?nes ou des images sympas et les charger dans des fichiers pour rendre leur page de connexion plus élégante.

<body>
<div id="top"> </div>
<form id="frm" name="frm" method="post" action="" onSubmit="return check()">
	<div id="center">
		<div id="center_left"></div>
		<div id="center_middle">
			<div class="user">
				<label>用戶名:
					<input type="text" name="username" id="username" />
				</label>
			</div>
			<div class="user">
				<label>密 碼:
					<input type="password" name="pwd" id="pwd" />
				</label>
			</div>
			<div class="chknumber">
				<label>驗(yàn)證碼:
					<input name="code" type="text" id="code" maxlength="4" class="chknumber_input" />
				</label>
				<img src="verify.php" style="vertical-align:middle" />
			</div>
		</div>
		<div id="center_middle_right"></div>
		<div id="center_submit">
			<div class="button"> <input type="submit" name="Submit" class="submit" value="&nbsp;">
			</div>
			<div class="button"><input type="reset" name="Submit" class="reset" value=""> </div>
		</div>
	</div>
</form>
<div id="footer"></div>
</body>

Emballez les styles CSS pour créer un fichier style.css

<link rel="stylesheet" type="text/css" href="style.css"/>

Ajoutez le lien ci-dessus dans <head>

<style>
  body {
   margin:0;
   padding:0;
   overflow:hidden;
   background:url(/upload/course/000/000/008/582403bb1d326430.gif) repeat-x #152753;
   font-size: 12px;
   color: #adc9d9;
}
#top {
   margin: 0 auto;
   clear:both;
   height:318px;
   width:847px;
   background:url(/upload/course/000/000/008/58240450e5b8e453.gif) no-repeat;
}
#center {
   height:84px;
   text-align:center;
}
#center_left {
   margin-left:65px;
   float:left;
   background:url(/upload/course/000/000/008/5824048c61afe958.gif) no-repeat;
   height:84px;
   width:381px;
}
/* IE7 HACK*/
*+html #center_left {
   margin-left:206px !important;
}
/* END HACK*/
#center_middle {
   float:left;
   background:url(/upload/course/000/000/008/582404a48b17a540.gif) no-repeat;
   height:84px;
   width:162px;
}
#center_middle_right {
   float:left;
   background:url(/upload/course/000/000/008/582404c137d1a417.gif) no-repeat;
   height:84px;
   width:26px;
}
#center_submit {
   float:left;
   background:url(/upload/course/000/000/008/582404cee31fc426.gif) no-repeat;
   height:84px;
   width:67px;
}
#center_right {
   float:left;
   background:url(/upload/course/000/000/008/582404e5d1716236.gif) no-repeat;
   height:84px;
   width:211px;
}
#footer {
   margin:0 auto;
   background:url(/upload/course/000/000/008/5824050172cb6295.gif) no-repeat;
   height:206px;
   width:847px;
}
INPUT {
   width:100px;
   height:17px;
   background-color:#87adbf;
   border:solid 1px #153966;
   font-size:12px;
   color:#283439;
}
.chknumber_input {
   width:40px;
}
.user {
   margin: 6px auto;
}
/* IE7 HACK*/
*+html .user {
   margin: 4px auto;
}
/* END HACK*/
.chknumber {
   margin-bottom:3px;
   text-align:left;
   padding-left:3px
}
.button {
   margin: 15px auto;
}
.submit{
   background-image:url(/upload/course/000/000/008/58240523905f5156.gif); width:57px; height:20px;
}
.reset{
   background-image:url(/upload/course/000/000/008/5824054310e9b518.gif); width:57px; height:20px;
}
IMG {
   border:none;
   cursor:pointer;
}
FORM {
   margin:0;
   padding:0
}
</style>

Remarque : Afin d'afficher l'effet sur la page, aucun fichier CSS externe n'est utilisé. Chargez directement le contenu CSS dans la balise <style> et placez-le dans la section <head>

Formation continue
||
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>圖書后臺管理系統(tǒng)注冊</title> <style> body { margin:0; padding:0; overflow:hidden; background:url(https://img.php.cn/upload/course/000/000/008/582403bb1d326430.gif) repeat-x #152753; font-size: 12px; color: #adc9d9; } #center { height:84px; text-align:center; } * IE7 HACK*/ *+html #center_left { margin-left:206px !important; } /* END HACK*/ #center_middle { float:left; background:url(https://img.php.cn/upload/course/000/000/008/582404a48b17a540.gif) no-repeat; height:84px; width:162px; } #center_middle_right { float:left; background:url(https://img.php.cn/upload/course/000/000/008/582404c137d1a417.gif) no-repeat; height:84px; width:26px; } #center_submit { float:left; background:url(https://img.php.cn/upload/course/000/000/008/582404cee31fc426.gif) no-repeat; height:84px; width:67px; } #center_right { float:left; background:url(https://img.php.cn/upload/course/000/000/008/582404e5d1716236.gif) no-repeat; height:84px; width:211px; } INPUT { width:100px; height:17px; background-color:#87adbf; border:solid 1px #153966; font-size:12px; color:#283439; } .chknumber_input { width:40px; } .user { margin: 6px auto; } /* IE7 HACK*/ *+html .user { margin: 4px auto; } /* END HACK*/ .chknumber { margin-bottom:3px; text-align:left; padding-left:3px } .button { margin: 15px auto; } .submit{ background-image:url(https://img.php.cn/upload/course/000/000/008/58240523905f5156.gif); width:57px; height:20px; } .reset{ background-image:url(https://img.php.cn/upload/course/000/000/008/5824054310e9b518.gif); width:57px; height:20px; } IMG { border:none; cursor:pointer; } FORM { margin:0; padding:0 } </style> </head> <body> <div id="top"> </div> <form id="frm" name="frm" method="post" action="" onSubmit="return check()"> <div id="center"> <div id="center_left"></div> <div id="center_middle"> <div class="user"> <label>用戶名: <input type="text" name="username" id="username" /> </label> </div> <div class="user"> <label>密 碼: <input type="password" name="pwd" id="pwd" /> </label> </div> <div class="chknumber"> <label>驗(yàn)證碼: <input name="code" type="text" id="code" maxlength="4" class="chknumber_input" /> </label> <img src="verify.php" style="vertical-align:middle" /> </div> </div> <div id="center_middle_right"></div> <div id="center_submit"> <div class="button"> <input type="submit" name="Submit" class="submit" value=" "> </div> <div class="button"><input type="reset" name="Submit" class="reset" value=""> </div> </div> </div> </form> <div id="footer"></div> </body> </html>
soumettreRéinitialiser le code