Html
    Css
    Js


@charset "gb2312";
	/* CSS Document */

body,dl,dt,dd,div,form {
	padding:0;
	margin:0;
}
#header,#main {
	width:650px;
	margin:0 auto;
}
.bg {
	background-image:url(../images/register_bg.gif);
	background-repeat:no-repeat;
	width:6px;
	height:6px;
}
.bg_top_left {
	background-position:0px 0px;
}
.bg_top_right {
	background-position:0px -6px;
}
.bg_end_left {
	background-position:0px -12px;
}
.bg_end_right {
	background-position:0px -18px;
}
.bg_top {
	border-top:solid 1px #666666;
}
.bg_end {
	border-bottom:solid 1px #666666;
}
.bg_left {
	border-left:solid 1px #666666;
}
.bg_right {
	border-right:solid 1px #666666;
}
.content {
	padding:10px;
}
.inputs {
	border:solid 1px #a4c8e0;
	width:150px;
	height:15px;
}
.userWidth {
	width:110px;
}
.content div {
	float:left;
	font-size:12px;
	color:#000;
}
dl {
	clear:both;
}
dt,dd {
	float:left;
}
dt {
	width:130px;
	text-align:right;
	font-size:14px;
	height:30px;
	line-height:25px;
}
dd {
	font-size:12px;
	color:#666666;
	width:180px;
}
/*當鼠標放到文本框時,提示文本的樣式*/
.import_prompt {
	border:solid 1px #ffcd00;
	background-color:#ffffda;
	padding-left:5px;
	padding-right:5px;
	line-height:20px;
}
/*當文本框內容不符合要求時,提示文本的樣式*/
.error_prompt {
	border:solid 1px #ff3300;
	background-color:#fff2e5;
	background-image:url(../images/li_err.gif);
	background-repeat:no-repeat;
	background-position:5px 2px;
	padding:2px 5px 0px 25px;
	line-height:20px;
}
/*當文本框內容輸入正確時,提示文本的樣式*/
.ok_prompt {
	border:solid 1px #01be00;
	background-color:#e6fee4;
	background-image:url(../images/li_ok.gif);
	background-repeat:no-repeat;
	background-position:5px 2px;
	padding:2px 5px 0px 25px;
	line-height:20px;
}

↑上面代碼改變,會自動顯示代碼結果 jQuery調用版本:1.8.3
 立即下載

正則表達式表單驗證(原創)

2019山东十一选五杀号 www.xvcvn.com 更新時間:2019-11-15 08:40:45

0