表单元素与提示文字无法对齐的解决办法
表单元素与提示文字无法对齐的解决方法
<style type="text/css"> 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>