表单元素,提示文字,无法对齐样式:
<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>
表单元素,提示文字,无法对齐
|