样式代码,基本的页面样式。
body,div,form,input,p{
margin:0;
padding:0;
font:12px/1.5 "宋体","Arial","sans-serif";
color:#666;
}
input{vertical-align:middle}
label{vertocal-align:middle}
input:focus{outline:none}
.btn{border:none 0}
form{width:740px;height:500px;margin:100px auto}
form div{overflow:hidden;clear:both}
form div label{float:left;clear:both}
form div label .text{width:152px;height:26px;padding:0 2px;border:1px solid #ccc}
form div label b{font-weight:normal;font-size:12px;color:#ccc;visibility:hidden}
form div em{display:inline-block;font-size:12px;text-align:center;color:#fff;vertical-align:middle;
font-style:normal;width:53px;height:15px;line-height:15px;background:#FFD099}
form div .active{background-color:#FF6600}
div span{display:inline-block;width:80px;text-align:right}
.submitBtn{width:135px;height:33px;color:#fff;margin:20px 0 0 80px}
.msg{line-height:12px;color:#999;float:left;margin-left:5px;display:none}
.msg i{display:inline-block;vertical-align:middle;width:25px;height:20px}
.msg .ati{background-position:0 -71px}
.msg .err{background-position:0 -39px}
.msg .ok{background-position:0 -99px}