title: Dividing html forms into different divs
body: <p>I just have a question about putting a single form with multiple inputs into different divs.</p>
  
  <p>I have 4 main sections that I need to divide into separate divs but they all must get posted to a single php file. The separation is needed as I am trying to set the layout of the page.</p>
  
  <pre><code>    &lt;div id="1"&gt;
      &lt;form method="post" action="process.php"&gt; 
      URL &lt;input type="text" name="url" size="50"/&gt;
      &lt;/div&gt;
  
      &lt;div id="2"&gt;
      &lt;input type="checkbox" name="ck1" value="option1" /&gt;
      &lt;input type="checkbox" name="ck2" value="option2" /&gt;
      &lt;input type="checkbox" name="ck3" value="option3" /&gt;
      &lt;/div&gt;
  
      &lt;div id="3"&gt;
      &lt;input type="checkbox" name="ck4" value="option4" /&gt;
      &lt;input type="checkbox" name="ck5" value="option5" /&gt;
      &lt;input type="checkbox" name="ck6" value="option6" /&gt;
      &lt;/div&gt;
  
      &lt;div id="4"&gt;
      &lt;input type="submit" value="Submit"&gt;
  &lt;/form&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>This does work but does not validate for obvious reason. I tried using the fieldset element but it has that line border around the filesets just dosen't seem to be suitable for my situation. What would be the proper way of formmating this and have it still work?</p>