首页 > 代码库 > 表单操作-复选框

表单操作-复选框

<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>表单操作-复选框</title>
	<style>
		*{margin:0; padding: 0;}
		li{list-style: none;}
		.clearfix:before,.clearfix:after{display: table; content: "";}
		.clearfix:after{clear: both; overflow: hidden;}
		.clearfix{zoom:1;}
		.f-fl{float: left;}
		.f-mr20{ margin-right: 20px;}
		fieldset{margin:50px auto; width: 1000px; padding: 20px; border: 0; color:#333;}
		#form dt{padding:15px 0 5px;}
		#form p{ margin-bottom: 10px;}
		#form p input[type=checkbox]{ margin-right: 5px;}
		#form dd p{padding-left:30px;}
	</style>
	<script type="text/javascript" src=http://www.mamicode.com/"http://code.jquery.com/jquery-1.8.1.js"></script>>