HTML CSS examples for CSS Form:input checkbox
CSS 6 column setup for check box
<html> <head> <title>6-col input fields</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div.column {<!-- ww w. jav a 2 s .c om--> width: 16.6%; float: left; border: 1px dotted gray; /* temporary - to clearly show the box */ -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ -moz-box-sizing: border-box; /* Firefox, other Gecko */ box-sizing: border-box; } </style> </head> <body> <div> <div class="column"> <input type="checkbox" name="tlds[]" value="1"> Label Text </div> <div class="column"> <input type="checkbox" name="tlds[]" value="1"> Label Text </div> <div class="column"> <input type="checkbox" name="tlds[]" value="1"> Label Text </div> <div class="column"> <input type="checkbox" name="tlds[]" value="1"> Label Text </div> <div class="column"> <input type="checkbox" name="tlds[]" value="1"> Label Text </div> <div class="column"> <input type="checkbox" name="tlds[]" value="1"> Label Text </div> <div class="column"> <input type="checkbox" name="tlds[]" value="1"> Label Text </div> <div class="column"> <input type="checkbox" name="tlds[]" value="1"> Label Text </div> </div> </body> </html>