1, downloaded from the Internet a good Login box style (table with CSS layout);
2, the beginner XHTML, oneself rewrite a bit, hope useful
3. How can I not upload it?
? 1. [Code]XHTML_CSS Combination
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<title>form Form-XHTML_CSS Presentation </title>
<style type= "Text/css" >
Body,h2,h3,p,img,dl,dd,ul, Ol,li{margin:0;padding:0;border:none;font-size:12px;color: #666}
body{margin:0 Auto;font-family:verdana, Tahoma, Sans-serif;}
ul,ol,li{List-style:none}
A{text-decoration:none; color: #666}
a:hover{color: #F60;}
. login {width:180px; padding:15px 10px;}
. login fieldset{border:0; margin:0px; padding:0px;}
. Login legend{Display:none}
. login_title,.login_item,.login_footer{margin-top:8px;}
. login_title P,.login_item. Input_user,.login_item. Input_pwd,.login_footer. login_btn{margin-top:6px;}
. login_title h3{height:20px; padding-top:5px; font-size:10px;font-weight:bold; Background-color: #F4F4F4}
. login_title img{width:16px; height:16px;}
. Login_title p{font-size:12px;color: #666666}
. Login_item label{Display:block;}
. Login_item input{background: #FFFFFF; border:1px solid #CCCCCC; color: #000000; font-size:0.95em;}
. Login_item. Input_user{background-image:url (images/username.gif); background-position:1px 1px;background-repeat: no-repeat;padding-left:20px;height:20px; font-size:12px;}
. Login_item. Input_pwd{background-image:url (images/password.gif); background-position:1px 1px;background-repeat: no-repeat;padding-left:20px;height:20px; font-size:12px;}
. Login_footer P{font-size:10px;color: #F60}
. Login_footer. login_btn{width:85px;}
</style>
<body>
<div class= "Login" >
<form id= "" Name= "" action= "" method= "POST" >
<fieldset>http://www.huiyi8.com/gongzuozongjie/?
<legend> Login </legend>
<div class= "Login_title" >
<p> Please enter the login user and password </P>
</div> Summary
<div class= "Login_item" >
<label for= "Form_user" > User name:</label>
<input type= "text" class= "Input_user" name= "Form_user" id= "Form_user" value= "" tabindex= "1"/>
</div>
<div class= "Login_item" >
<label for= "Form_pwd" > Secret code:</label>
<input type= "text" class= "input_pwd" name= "Form_pwd" id= "form_pwd" value= "" tabindex= "2"/>
</div>
<div class= "Login_footer" >
<p> forgot Password? </p>
<input type= "Submit" class= "login_btn" value= "Logging recording" tabindex= "3"/>
</div>
</fieldset>
</form>
</div>
</body>
?
Table+css and xhtml+css Implement the same login box (code snippet)