Inline label
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> .states label { display:inline-block; width:24.5%;/* rounding error */ margin:0; padding:0; white-space:nowrap; } html>body label{display:inline;float:left} p { white-space:nowrap;margin:0 0 1em 0;padding:0} </style> </head> <body> <div class="states"> <p> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> </p> <p> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> </p> <p> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> </p> <p> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> <label for="al"><input id="al" name="al" type="checkbox" value="Y">A</label> </p> </div> </body> </html>