<style type="text/css"> * { padding: 0px; margin: 0px; } #wb { width: 15px; height: 15px; float: left; } #somelabel { float: left; padding-left: 3px; } </style> <div> <input id="wb" type="checkbox" /><label for="wb" id="somelabel">Web Browser</label> </div>
* If you don't want to set the padding and margin to zero for all elements as I did here, you could only set them for the label and checkbox.