<form action="">
<ul class="sucaihuo">
<li>
<label class="label" for="username">用户名:</label>
<input type="text" name="username" id="username">
</li>
<li>
<span class="label">爱好:</span>
<input type="checkbox" name="favorite" id="internet" value="上网"><label for="internet">上网</label>
<input type="checkbox" name="favorite" id="movie" value="电影"><label for="movie">电影</label>
<input type="checkbox" name="favorite" id="music" value="音乐"><label for="music">音乐</label>
<input type="checkbox" name="favorite" id="sport" value="运动"><label for="sport">运动</label>
<input type="checkbox" name="favorite" id="shopping" value="购物"><label for="shopping">购物</label>
</li>
<li>
<label class="label" for="avatar">头像:</label>
<input type="file" name="avatar" id="avatar">
</li>
<li>
<label class="label" for="evaluation">自我评价:</label>
<textarea name="evaluation" id="evaluation"></textarea>
</li>
<li><input class="send" type="submit" value="提交"></li>
</ul>
</form> .cform-radio, .cform-checkbox{display: inline-block; vertical-align: middle;} .cform-text, .cform-select, .cform-file{display: inline-block; vertical-align: middle; font-size: 16px;} .cform-select{width: 120px; z-index: 10;} .cform-file .cform-filename{width: 460px; font-size: 12px;} .cform-submit{margin-left: 80px;} .cform-file .cform-control{text-align: left;} textarea{width: 580px; height: 100px;} #username, #password{width: 180px;} <script src="js/jquery-1.11.3.min.js"></script>
<script src="js/jquery.cform.min.js"></script> $(function() {
$('.sucaihuo').cForm();
});
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
