title: HTML not displaying submit button in the correct order
body: <p>I just started a php sudoku solver program, where the main page has a form. Inside that form, a php include statements calls a function which draws the grid with the inputs that form the sudoku box. Below that in the HTML code, I put a input submit button. However, this is placed above the grid on the website, as shown <a href="http://shodor.org/~amalani/sudoku.php" rel="nofollow">http://shodor.org/~amalani/sudoku.php</a>. Does anyone know why this is?</p>
  
  <p>The main code is here</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Sudoku Solver&lt;/title&gt;
      &lt;link rel='stylesheet' href='main.css' type='text/css'&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
      &lt;table&gt;
          &lt;form name='entry' method='POST' action='solve.php'&gt;    
              &lt;?php 
                  include('grid.php');
              ?&gt;
              &lt;input type='submit' value='Submit!'&gt;&lt;/input&gt;           
          &lt;/form&gt;
      &lt;/table&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The CSS is here</p>
  
  <pre><code>td{
      border:1px solid black;
  }input[type=number]{
      border:none;
      width:30px;
      height:30px;
  }input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
  }table{
      border-collapse:collapse;
  }.xborder{
      border-bottom:3px solid black;
  }.bothborder{
      border-bottom:3px solid black;
      border-right:3px solid black;
  }.yborder{
      border-right:3px solid black;
  }
  </code></pre>
  
  <p>and the  grid drawer code is here</p>
  
  <pre><code>&lt;?php 
      for ($x=1;$x&lt;=9;$x++){
  echo '
  
              &lt;tr&gt;';
          for ($y=1;$y&lt;=9;$y++){
              $name=$x.''.$y;
              if(($y==3||$y==6)&amp;&amp;($x==3||$x==6)){
                  echo "
              &lt;td class='bothborder' &gt;&lt;input type='number' name='$name'&gt;&lt;/input&gt;&lt;/td&gt;";
              }
              else if ($y==3||$y==6){
                  echo "
                  &lt;td class='yborder' &gt;&lt;input type='number' name='$name'&gt;&lt;/input&gt;&lt;/td&gt;";
              }
              else if ($x==3||$x==6){
                  echo "
              &lt;td class='xborder' &gt;&lt;input type='number' name='$name'&gt;&lt;/input&gt;&lt;/td&gt;";
              }
              else{
                  echo "
  
                  &lt;td&gt;&lt;input type='number' name='$name'&gt;&lt;/input&gt;&lt;/td&gt;";
              }
          }
  echo '
              &lt;/tr&gt;';
      }
  
      ?&gt;
  </code></pre>
  
  <p>Thanks</p>