HTML CSS examples for CSS Form:input checkbox
align the check box evenly
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .checksheet {<!-- w w w .ja v a 2 s .c o m--> background-color:Chartreuse; display:table; width:100%; } .checksheet>div { display:table-row; } .checksheet label { display:table-cell; padding:11px; } .checksheet label:last-child { text-align:right; } </style> </head> <body> <div class="checksheet"> <div> <label for="XML Parser"> <input id="XML Parser" class="checkbox" type="checkbox">Lorem ipsum </label> <label for="Feed Parser"> <input id="Feed Parser" class="checkbox" type="checkbox">Lorem ipsum d</label> <label for="Text Parser"> <input id="Text Parser" class="checkbox" type="checkbox">Lorem ipsum d</label> <label for="Case Normalization"> <input id="Case Normalization" class="checkbox" type="checkbox">Lorem ipsum dolor si</label> <label for="Stemmer"> <input id="Stemmer" class="checkbox" type="checkbox">Lorem ips</label> <label> <input type="submit" value="save..."> </label> </div> </div> </body> </html>