样式:
<style type="text/css">
body
{
font-family: tahoma;
font-size: 12px;
}
input[type=checkbox]
{
vertical-align: middle;
padding: 2px;
}
label
{
vertical-align: middle;
}
</style>
body
{
font-family: tahoma;
font-size: 12px;
}
input[type=checkbox]
{
vertical-align: middle;
padding: 2px;
}
label
{
vertical-align: middle;
}
</style>
使用示例:
<input id="Checkbox1" type="checkbox" /><label for="Checkbox1">文本内容</label>
参考文章:
http://hi.baidu.com/swordtomb/blog/item/5503dd4f98aeb33aafc3abb0.html
http://www.webjx.com/html-xhtml/webxhtml-15052.html