/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<form> <div> <label><input type="checkbox" /> Label text</label> </div> </form> <style type="text/css"> label { display: block; padding-left: 15px; text-indent: -15px; } input { width: 13px; height: 13px; padding: 0; margin:0; vertical-align: bottom; position: relative; top: -1px; *overflow: hidden; } </style>