how to arrange the checkboxes in 3/3 format on a layout of a form

Posted by anwaar on Stack Overflow See other posts from Stack Overflow or by anwaar
Published on 2010-05-15T13:36:58Z Indexed on 2010/05/15 13:44 UTC
Read the original article Hit count: 134

Filed under:
|
|

hi there can anyone plz tell me how to arrange the list of checkboxes of cuisines label which is retrived from the data base and when it is displaying it is not in the order coming side by side all together i want it to be displayed in a 3 by 3 format.here is the code for that:

<div id="frmform">
    <form name="frmrestaurant" id="frmrestaurant" method="post" onsubmit="" enctype="multipart/form-data">
  <p class="msgsignup">Add Restaurant</p>
  <div id="iderror"></div>
  <div class="topinputs">
   <div> <label for="restaurant_name" class="name">Restaurant Name :</label><input type="text" name="restaurant_name" size="32" id="restaurant_name" value="<?php echo $row->restaurant_name; ?>" class="validate[required,custom[onlyLetter],length[0,100]] text-input" />  </div>


   </div>
   <div> <label for="website" class="name">Website :</label><input  size="32" type="text" name="website" id="website" value="<?php echo $row->website; ?>" class="validate[required,length[0,100]] text-input" />  </div>
   <div> <label for="budget" class="name">Budget :</label>
   <?php echo $this->lists['budget'];?>
   </div>
   <div> <label for="idcuisine" class="cuisine"  >Cuisine:</label>
   <?php echo $this->lists['cuisine']  ;?> 

   <div> <label for="idcategory" class="category">Category:</label>
   <?php echo $this->lists['category'];?>
   </div>

the lists of cuisine and category is not displaying properly.

thanks.

© Stack Overflow or respective owner

Related posts about html

Related posts about php