﻿input {
	border-width:1px;
}
/* 文本框 */
input[type=text],input[type=password]{
	height:26px;
	width:300px;
	padding:0px 5px 0px 5px;
	border:1px solid #999;
	border-radius:3px;
	-webkit-appearance:none;
}
/* 按钮 */
input[type=button],input[type=submit],input[type=reset]{
	height:28px;
	width:80px;
	border:1px solid #999;
	background:url(/img/btn_bg.png);
	border-radius:3px;
}		
/* 下拉框 */
select{
	height:28px;
	padding:0px;
	border:1px solid #999;
	border-radius:3px;
}
/* 单选框 */
input[type=radio]{
	height:15px;
	width:15px;
	float:left;
	margin-top:2px;	
}
input[type=radio]~*{		/* radio后面所有元素都调整位置 */
	float:left;
	margin-top:1px;
}
/* 复选框 */
input[type=checkbox]{
	height:15px;
	width:15px;
	float:left;
	margin-top:4px;
}
input[type=checkbox]~*{		/* checkbox后面所有元素都调整位置 */
	float:left;
	margin-top:3px;
}
/* 多行框 */
textarea{
	height:75px;	/* 75px */
	width:300px;
	padding:0px 5px 0px 5px;
	border:1px solid #999;
	border-radius:3px;
	line-height:25px;
	float:left;
	padding:1px 5px 0px 5px;
	resize:none;
}
textarea~*{					/* textarea后面所有元素都调整位置 */
	/*float:left;*/
	margin-top:6px;
}
/* 鼠标经过,鼠标点击 */
input:hover, textarea:hover, select:hover {
	border-color:#333333;
}
input:active, textarea:active{	/*select不能设置active,jquery的IE9日期选择器,年月会冲突*/
	background:#f8f8f8 url();
}
