<divid=”stylized”class=”myform”>
<formid=”form”name=”form”method=”post”action=”index.html”>
<h1>Sign-upform</h1>
<p>Thisisthebasiclookofmyformwithouttable</p>
<label>Name
<spanclass=”small”>Addyourname</span>
</label>
<inputtype=”text”name=”name”id=”name”/>
<label>Email
<spanclass=”small”>Addavalidaddress</span>
</label>
<inputtype=”text”name=”email”id=”email”/>
<label>Password
<spanclass=”small”>Min.size6chars</span>
</label>
<inputtype=”text”name=”password”id=”password”/>
<buttontype=”submit”>Sign-up</button>
<divclass=”spacer”></div>
</form>
</div>
body{
font-family:”LucidaGrande”,“LucidaSansUnicode”,Verdana,Arial,Helvetica,sans-serif;
font-size:12px;
}
p,h1,form,button{border:0;margin:0;padding:0;}
.spacer{clear:both;height:1px;}
/*———–MyForm———–*/
.myform{
margin:0auto;
width:400px;
padding:14px;
}
/*———–stylized———–*/
#stylized{
border:solid2px#b7ddf2;
background:#ebf4fb;
}
#stylizedh1{
font-size:14px;
font-weight:bold;
margin-bottom:8px;
}
#stylizedp{
font-size:11px;
color:#666666;
margin-bottom:20px;
border-bottom:solid1px#b7ddf2;
padding-bottom:10px;
}
#stylizedlabel{
display:block;
font-weight:bold;
text-align:right;
width:140px;
float:left;
}
#stylized.small{
color:#666666;
display:block;
font-size:11px;
font-weight:normal;
text-align:right;
width:140px;
}
#stylizedinput{
float:left;
font-size:12px;
padding:4px2px;
border:solid1px#aacfe4;
width:200px;
margin:2px020px10px;
}
#stylizedbutton{
clear:both;
margin-left:150px;
width:125px;
height:31px;
background:#666666url(img/button.png)no-repeat;
text-align:center;
line-height:31px;
color:#FFFFFF;
font-size:11px;
font-weight:bold;
}
欢迎光临 仓酷云 (http://ckuyun.com/) | Powered by Discuz! X3.2 |